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

schCreateWire

schCreateWire( 
d_cvId 
t_entryMethod 
t_routeMethod 
l_points 
n_xSpacing 
n_ySpacing 
n_width 
[ t_color ]
[ t_lineStyle ]
)
=> l_wireId

Description

Creates flight lines, wide wires, or narrow wires in the specified schematic cellview.

Arguments

d_cvId

Cellview ID of a schematic cellview in which to create the wire.

t_entryMethod

Wire entry method; must be enclosed in quotation marks. If you specify t_entryMethod as draw, the resulting wires are created using the given list of points and t_routeMethod is ignored. If you specify t_entryMethod as route, t_routeMethod is applied and only the first two points in the list of points are used.
Valid Values: draw, route

t_routeMethod

Method to use when routing the wires; must be enclosed in quotation marks. This argument applies only when t_entryMethod is route. If you specify t_routeMethod as flight, flight lines are created between the points specified. If you specify t_routeMethod as direct or full, the appropriate routing algorithm is applied to route the wires between the points.
Default: flight, direct, full

l_points

List of points to use to create the wire. This can be any number of points, but the system creates as many two-point line segments as needed to exhaust the list of points.

n_xSpacing

Horizontal snap spacing to apply to the specified point.

n_ySpacing

Vertical snap spacing to apply to the specified point.

n_width

Physical width of the wire. A width of 0 specifies a line. A width greater than 0 specifies a wide wire.

t_color

The color of the wire. The color must be defined in the Display Resource File. If t_routeMethod is flight, t_color is ignored.

t_lineStyle

The line style of the wire. The line style must be defined in the Display Resource File. If t_routeMethod is flight, t_lineStyle is ignored.

Value Returned

l_wireId

A list of database objects for each wire segment you create.

Examples

Creates a wire from 0:0 to 1:0.

schCreateWire( cv "draw" "full" list(0:0 1:0) 0.0625 0.0625 0.0 )

Routes a wide wire from 0,0 to 1,20.

schCreateWire( cv "route" "full" list(0:0 1:20) 0.0625 0.0625 0.05 )

Return to top
 ⠀
X