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

weCyclePatternGravityLayerTransitionType

weCyclePatternGravityLayerTransitionType(
)
=> t_patternGravityLayerTransitionType / nil

Description

In a WSP design, the wires are snapped to the layer up or down WSPs, which is the default behavior. However, if you want the wire only to snap to layer up or layer down a WSP, then you can use the patternGravityLayerTransitionType environment variable to cycle the layer for snapping. The environment variable has three values: patternGravityLayerUp, patternGravityLayerDown, and patternGravityLayerAny. The default value is patternGravityLayerAny.

Arguments

None

Value Returned

t_patternGravityLayerTransitionType

The current value of the patternGravityLayerTransitionType environment variable.

nil

The command failed to run or an error occurred.

Examples

The following example, cycles and returns the current value of the patternGravityLayerTransitionType environment variable. For example, if current patternGravityLayerTransitionType is patternGravityLayerAny, the value is changed to the patternGravityLayerUp when this SKILL function is used.

weCyclePatternGravityLayerTransitionType()
"patternGravityLayerUp"

Related Topics

Interactive and Assisted Routing Functions


Return to top
 ⠀
X