schSetWireColor
schSetWireColor(
d_wireId
t_colorName
) => t / nil
Description
Sets the color used to draw a wire segment.
Arguments
|
The wire segment's new color. Colors are referred to by the names defined in the Display Resource File. |
Value Returned
Examples
Here is how to change the color of all wire segments on a given net:
procedure(mySetNetColor(net colorName)
foreach(fig net->figs
schSetWireColor(fig colorName)
)
t
)
You could use it on the "vdd!" net in a schematic opened in VSE like this:
mySetNetColor(dbFindNetByName(geGetEditCellView() "vdd!") "red")
Related Topics
Return to top