drdGetAllowedWidth
drdGetAllowedWidth(d_objID t_layerName[ ?constraintGroupt_constrGroupName] [ ?direction { any | horizontal | vertical } ] [ ?upperLimitf_maxValue] ) =>l_integers/ nil
Description
Returns a list of allowed widths for the specified layer.
Arguments
Value Returned
|
A list of legal width values (integers) less than or equal to the value specified using |
|
Examples
objID = css()
drdGetAllowedWidth(objID "M2" ?constraintGroup "foundry" ?upperLimit 0.05 )
=> (32 37 42 47)
Returns width values less than 0.05 for layer M2.
drdGetAllowedWidth(objID "M2" ?constraintGroup "foundry" ?direction "vertical" ?upperLimit 0.1 )
=> ( 32 37 42 47 52
57 62 67 72 77
82 87 92 97
)
Returns width values less than 0.1 for layer M2 when the direction is specified as vertical.
Return to top