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

schSetWireLineStyle

schSetWireLineStyle(
d_wireId
t_lineStyleName
) => t / nil

Description

Sets the line style used to draw a wire segment.

Arguments

d_wireId

The wire segment ID.

t_lineStyleName

The wire segment's new line style. Line styles are referred to by the names defined in the Display Resource File.

Value Returned

t

When the line style of the wire is set.

nil

When the line style of the wire is not set.

Examples

Here is how to change the line style of all wire segments on a given net:

procedure(mySetNetLineStyle(net lineStyleName)
       foreach(fig net->figs
           schSetWireLineStyle(fig lineStyleName)
       )
       t
   )

You could use it on the "vdd!" net in a schematic opened in VSE like this:

mySetNetLineStyle(dbFindNetByName(geGetEditCellView() "vdd!") "dots")

Related Topics

schGetWireLineStyle

schGetWireColor

schSetWireColor

schCreateWire


Return to top
 ⠀
X