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

pcDefineStretchLine

pcDefineStretchLine(
d_lineId
g_paramExpr 
t_direction 
f_defval
f_minval 
f_maxval 
g_stretchRepeated
) 
=> d_StretchId

Description

Defines a stretch control line used to control stretching in the X direction or Y direction. Objects repeated in the direction parallel to the stretch direction can be set to stretch.

Arguments

d_lineId

The database ID of the line used as the stretch control line. By default, this line is drawn on the layer stretch.

g_paramExpr

SKILL expression or symbol controlling the stretch.

t_direction

Direction of the stretch.

Valid Values: right, left, rightAndLeft, up, down, upAndDown

f_defval

Default value (reference dimension) for the stretch.

f_minval

Minimum value for the stretch.

f_maxval

Maximum value for the stretch. Use nil if no maximum is specified.

g_stretchRepeated

Boolean expression indicating whether to stretch shapes that are repeated in the direction parallel to the stretch.

Value Returned

d_StretchId

Group ID used to store the details of the stretch parameter.

Examples

pcDefineStretchLine(stretchLine 'nfetWidth, "right" 1.25 1.25 25 nil)

Defines stretchLine as a stretch control line controlled by the parameter nfetWidth. The stretch direction is right. The default and the minimum values are 1.25, and the maximum value is 25. Horizontally repeated shapes are not stretched.


Return to top
 ⠀
X