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

pcRedefineStretchLine

pcRedefineStretchLine( 
d_lineId 
g_paramExpr 
t_direction 
f_defval
f_minval 
f_maxval 
g_stretchRepeated 
) 
=> d_StretchId / nil

Description

Redefines the attributes of an existing stretch control line. You can also specify a new location for the stretch control line with this command.

You must have defined the stretch control line.

Arguments

d_lineId

The database ID of the stretch control line.

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 repeated in the direction parallel to the stretch.

Value Returned

d_StretchId

Group ID used to store stretch parameter details.

nil

Returned if d_lineId is not defined as a stretch control line.

Examples

pcRedefineStretchLine( stretchLine 'nfetWidth "rightAndLeft" 1.00 1.00 25 nil )

Redefines the stretch control line stretchLine as controlled by the parameter nfetWidth. The stretch direction is rightAndLeft. The default and minimum values are 1.00, and the maximum value is 25. Horizontally repeated shapes are not affected.


Return to top
 ⠀
X