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

schDrawSymbolPin

schDrawSymbolPin( 
d_cvId 
t_termName 
t_direction 
l_points 
)
=> t_pinFigId / nil

Description

Creates a symbol pin in the specified cellview by creating a terminal of the given name with the given direction and a polygon shape specified by the given list of points.

Can be used only when editing a symbol. d_cvId must be editable.

Arguments

d_cvId

Cellview ID of an editable symbol cellview ID in which to create the pin.

t_termName

Name for the terminal that is created for the pin; must be enclosed in quotation marks.

t_direction

I/O direction for the pin terminal; must be enclosed in quotation marks.
Valid Values: input, output, inputOutput, switch

l_points

List of points that specify the shape of the polygon that represents the pin.

Value Returned

t_pinFigId

The ID of the new pin shape.

nil

Symbol creation was unsuccessful.

Examples

Creates a pin with terminal A with input direction using a shape specified by four points.

pinFigId = schDrawSymbolPin( cvId "A" "input" list(0:0 0.0625:0 0.0625:0.0625 0:0.0625) )

Return to top
 ⠀
X