snapPatternIndexSnappingLayers
layout snapPatternIndexSnappingLayers string { "" | "t" | "layerNames" }
Description
Specifies whether the snap period-based snapping is enabled, and if enabled, the order of layers to be used for snapping. You can set any of the following values:
-
"": Disables the snap period-based snapping. Instances can be snapped to any track of a grid. -
t: Enables the snap-period based snapping to be performed by using the default order of layers specified in the technology file. This is the default value. - layerNames: Enables the snap period-based snapping to be performed by using the order of layers that you specify.
When snap period-based snapping is enabled, snapping is performed based on the
GUI Equivalent
Examples
envGetVal("layout" "snapPatternIndexSnappingLayers")
envSetVal("layout" "snapPatternIndexSnappingLayers" 'string "Active")
envSetVal("layout" "snapPatternIndexSnappingLayers" 'string "")
Related Topics
Detail Mode Snapping to Specific Tracks of a Global Grid
Return to top