Product Documentation
Virtuoso Layout Suite XL: Connectivity Driven Editing User Guide
Product Version IC23.1, November 2023

snapCpaToPlacementGrid

layoutXL snapCpaToPlacementGrid boolean { t | nil }

Description

Snaps the Custom Placement Area to the placement grid if the placement grid is defined.

The default is nil.

When set to nil, the custom placement area is snapped to the X Snap and Y Snap spacing, provided the following conditions are fulfilled:

  1. X Snap and Y Snap spacing are multiples of the manufacturing grid.
  2. Both X Snap and Y Snap spacing are equal to or greater than the manufacturing grid.

If either of the snapping conditions is not met, the custom placement area is snapped to the manufacturing grid.

When set to t, the custom placement area is snapped to the placement grid. If the placement grid is unavailable, the conditions for snapping to the X/Y spacing are verified. If both the conditions are fulfilled, the placement area is snapped to the X-snap and Y-snap spacing. Else, the placement area is snapped to the manufacturing grid.

GUI Equivalent

None

Examples

envGetVal("layoutXL" "snapCpaToPlacementGrid")
envSetVal("layoutXL" "snapCpaToPlacementGrid" 'boolean t)
envSetVal("layoutXL" "snapCpaToPlacementGrid" 'boolean nil)

Related Topics

List of Layout XL Environment Variables

Setting Environment Variables


Return to top
 ⠀
X