Product Documentation
Virtuoso Schematic Editor SKILL Functions Reference
Product Version IC23.1, November 2023

schGetWireColor

schGetWireColor(
d_wireId
) 
=> t_colorName / nil

Description

Returns the color used to draw a wire segment.

Arguments

d_wireId

The wire segment ID.

Value Returned

t_colorName

The wire's color. Colors are referred to by the names defined in the Display Resource File.

nil

Either the wireId is not a wire segment or the color of the wire could not be retrieved.

Examples

schGetWireColor( car( geGetSelectedSet () ) )

Related Topics

schSetWireColor

schGetWireLineStyle

schSetWireLineStyle

schCreateWire


Return to top
 ⠀
X