Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

dbSetPlacementGrid

dbSetPlacementGrid(
d_cellviewId
l_origin 
f_pitchX
f_pitchY
)
=> t / nil 

Description

Sets the placement grid information. The origin of the placement grid, and the X pitch and Y values are set for the specified cellview.

To unset the placement grid, call dbSetPlacementGrid with either f_pitchX or f_pitchY or both set to zero.

Arguments

d_cellviewId

Database ID of the cellview.

l_origin

The origin of the placement grid.

f_pitchX

The X pitch of the placement grid.

f_pitchY

The Y pitch of the placement grid.

Value Returned

t

The placement grid values are set successfully.

nil

The placement grid values are invalid

Examples

Sets the placement grid information for the place area in the current cellview.

dbSetPlacementGrid(geGetEditCellView() 0:0 10.0 10.0)

Related Topics

Placement Database Access Functions


Return to top
 ⠀
X