Product Documentation
Virtuoso Parameterized Cell SKILL Reference
Product Version IC23.1, August 2023

pcDefineParamPolygon

pcDefineParamPolygon(
d_polygonId
S_param
g_margin
t_snap
l_namelist
) 
=> d_paramShapeId

Description

Defines a polygon that has its vertices determined by a parameter of the cell. When you place the Pcell, you enter a coordinate string that is used as the vertices of the parameterized polygon. You can use this function more than once in a cellview.

Arguments

d_polygonId

The database ID of the polygon that has its vertices determined by a parameter of the cell.

S_param

Name of the parameter controlling the vertices of the polygon. By default, this parameter is coords.

g_margin

SKILL expression for the amount to enlarge or shrink the vertices of the polygon as compared to the coordinate list in the parameter.

t_snap

Snap used by the editor when digitizing polygon vertices to place an instance of this cell.

Valid Values: orthogonal, anyAngle, diagonal, L90

l_namelist

List of symbols used in the g_margin SKILL expression. These become parameters of the Pcell.

Value Returned

d_paramShapeId

Group ID used to record details of the parameterized polygons.

Examples

pcDefineParamPolygon( polygon 'coords '(-margin) "orthogonal" list( 'margin ) )

Defines d_polygonId as a parameterized polygon that takes its vertices from the value of the parameter coords, shrunk by the value of the g_margin parameter. It tells the editor to use orthogonal snap when entering vertices for the polygon and declares margin as a parameter of the cell.


Return to top
 ⠀
X