Object Snapping to Global Snap Pattern Grid
The layout editor can display a uniform fin grid over the entire design window when you add a global snap pattern grid to the design.
You can create a global snap pattern grid by specifying the value global in the type constraint of the snap pattern definition, as shown below.
snapPatternDefs(
(GFG ("CellBoundary" "global")
'offset 0.024
'type "global"
'step 0.048
'stepDirection "vertical"
...
The type constraint can have the value global or local. A local snap pattern definition is drawn using a snap pattern shape in the layout. A global snap pattern definition can be activated through either a constraint or by drawing a corresponding snap pattern shape.
You can enable the display of global grid by using the snapGridVertical and snapGridHorizontal constraints. The constraint value is the name of the global snapPatternDef and the direction is same as that specified in snapPatternDef.
In the following example, the constraint value is GFG, which is the name of the global, vertical snapPatternDef.
spacings(
snapGridVertical("GFG")
);spacings
Related Topics
Return to top