weBusColorMode
layout weBusColorMode cyclic { "optimized" | "uniform" }
Description
Controls the color mode for the Create Bus command.
-
optimizedthe control wire acquires the same mask color as that specified for the active layer in the Palette. The other bus bits acquire the following coloring pattern:-
The bus bits above the control wire acquire the mask color as
maskColor(controlWire)+1,maskColor(contorlWire)+2, and so on. This pattern continues until the highest mask color available for the selected layer-purpose pair is assigned to a bus bit. The pattern is then repeated starting at the mask color of control wire. -
The bus bits below the control wire acquire the mask color as
maskColor(controlWire)-1,maskColor(contorlWire)-2, and so on. If the control wire has the lowest available mask color assigned to it, then the bus bits below the control wire are colored starting with the highest mask color available for the layer on which the bus is being placed. The pattern is then repeated for the remaning bus bits.
-
The bus bits above the control wire acquire the mask color as
-
uniformassigns the same mask color as that of the control wire to all bus bits. The mask color assigned to the control wire and other bus bits is the same as the active layer in the Palette.
GUI Equivalent
Examples
envGetVal("we" "weBusColorMode")
envSetVal("we" "weBusColorMode" 'cyclic "uniform")
Related Topics
Variables to Customize the Interactive and Assisted Routing Settings
Interactive Coloring for Create Bus
Return to top