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
Value Returned
|
The current value of the |
|
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