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

schCreateNoteShape

schCreateNoteShape( 
d_cvId 
t_type 
t_lineStyle 
l_points 
[ n_width ] 
)
=> d_shape / nil

Description

Creates note shapes in a schematic or symbol cellview with the attributes and properties you specify. These shapes do not affect the connectivity but can be useful for annotation.

Arguments

d_cvId

Cellview ID of an editable schematic or symbol cellview in which to create the note shape.

t_type

Type of shape to create; must be enclosed in quotation marks.
Valid Values: line, rectangle, polygon, arc, ellipse, circle

t_lineStyle

Line style of the shape; must be enclosed in quotation marks.
Valid Values: solid, dashed

l_points

Location of the note shape specified as a list of at least two points.

n_width

Width of the line.

Value Returned

d_shape

The ID of the new shape.

nil

Note shape creation was unsuccessful.

Examples

Creates a rectangle in the specified cellview whose lower left corner is at 0,0 and upper right corner is at 10,10. The boundary of the rectangle is displayed as a solid line.

shapeId = schCreateNoteShape( cv "rectangle" "solid" list(0:0 10:10) )

Return to top
 ⠀
X