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

schCreateSymbolShape

schCreateSymbolShape( 
d_cvId 
t_shape 
t_style 
l_points 
[ n_width ] 
)
=> d_shapeId / nil

Description

Creates the specified shape using the given fill style and the list of points in the given cellview.

Arguments

d_cvId

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

t_shape

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

t_style

Fill style of the shape to create; must be enclosed in quotation marks.
Valid Values: outline, solid

l_points

List of points for the specified shape.

n_width

Width of the line.

Value Returned

d_shapeId

The ID of the specified shape.

nil

Shape creation was unsuccessful.

Examples

Creates a solid rectangular shape between points 0:0 and 1:1.

shapeId = schCreateSymbolShape( cv "rectangle" "solid" list(0:0 1:1) )

Return to top
 ⠀
X