allowedNeighborWidthRange
Specifies the allowed widths for a shape that depends on the width of another shape within a given distance on the same layer.
allowedNeighborWidthRange Quick Reference
Value Type
|
The index value is the width of the neighbor shape, in user units, and the table values are the allowed widths, in user units. |
|
Optional Parameters
|
Specifies that the constraint only applies if the distance between the shapes is less than this value, in user units.
Type: |
|
|
Specifies that the constraint only applies to shapes with these widths, in user units.
Type: |
|
Examples
The following example specifies that
- Poly shapes that are less than 0.4 wide may have neighbor poly shapes with width 0.3 or 0.4.
- Poly shapes that are less than 0.5 wide may have neighbor poly shapes with width 0.3, 0.4, or 0.5.
- Poly shapes that are at least 0.5 wide may have neighbor poly shapes with width 0.4 or 0.5.
- Only poly shapes that are less than 1.5 user units apart and are less than or equal to 1.0 user units in width are considered.
set_constraint_parameter -name oaDistanceWithin -Value 1.5
set_constraint_parameter -name widthRangeArray \
-RangeArrayValue { "<= 1.0"}
set_layer_constraint -constraint allowedNeighborWidthRange \
-layer Poly -row_name width \
-RangeArray1DTblValue {0.3 2 0.3 0.4 \
0.4 3 0.3 0.4 0.5 \
0.5 2 0.4 0.5 }

Related Topics
Return to top