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

snapMode

layout snapMode string { "orthogonal" | "diagonal" | "anyAngle" | "L90XFirst" | "L90YFirst" }
graphic snapMode string { "orthogonal" | "diagonal" | "anyAngle" | "L90XFirst" | "L90YFirst" }

Description

Determines how Create command entry points snap to the grid.

The layout default is orthogonal, the graphic default is anyAngle.

anyAngle is not a valid value for the Create Wire (XL, GXL) command.

GUI Equivalent

Command:

Options – Display

Field:

Snap Modes: Create

Examples

envGetVal("layout" "snapMode")
envSetVal("layout" "snapMode" 'string "diagonal")
envGetVal("graphic" "snapMode")
envSetVal("graphic" "snapMode" 'string "orthogonal")
envSetVal("graphic" "snapMode" 'string "L90YFirst")

Related Topics

Display Options Form


Return to top
 ⠀
X