Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

leGetSnapOptions

leGetSnapOptions 
[ w_windowID ] 
) 
=> l_dpl / nil

Description

Generates the default snap options in the form of DPLs (Disembodied Property Lists). If a valid window ID is specified in the input list and it is a layout window, the options are listed considering window variables. If a window ID is not specified, the default values of environment variables are listed.

Arguments

w_windowId

Database ID of the window.

Value Returned

l_dpl

The list of DPLs of the default snap options.

nil

The command is not successful.

Example

win = hiGetCurrentWindow()
snapOptionWin = leGetSnapOptions(win)
(nil toSP t toWSP t toRow nil toPlacementGrid nil toMfgGrid nil toXYGrid nil wspDetail t
wspDetailSnapAllShapes nil snapMethod "defaultDetailOverride" snapGrid "Any"
snapDirection "nearest" snapXEdge "low" snapYEdge "low" snapDepth 31 freeSnapDepth 31
fixedSnapDepth 31 matchPinColor nil xSnapSpacing 0.001 ySnapSpacing 0.001
fastDetailModeSnapping t abstractModeSnapAnyBoundaryEdge nil allSPGridsEnclosures t
snapToXYGridFirst nil boundarySnapXGrids "" boundarySnapYGrids ""
boundarySnappingLayer "" ignoreParallelMinWidthForSquarePinResize nil
rowSiteSymmetry nil snapDeviceInDetailMode t snapStdCellInDetailMode nil
ignoreRef t propBasedInstSnap t polyGridFeatures t)

Return to top
 ⠀
X