create_preferred_direction_region
create_preferred_direction_region -names_regionName-groups_groupName{-region {f_xlof_ylof_xhif_yhi} | -points {f_x1f_y1… f_xn f_yn} ]
Description
Creates and names a rectangular or polygonal preferred direction region. This is used to override the global settings for the preferred routing direction in the region. The region boundary is viewable in the workspace and its visibility is controlled by the area_boundary:pref dir area entry in the Object section of the Layer Object Display Panel.
Arguments
Examples
The following commands sets layers with preferred horizontal directions, layers with preferred vertical directions and the region that these constraints should apply to.
create_constraint_group -name grpA -type route
set_constraint -constraint oaPreferredRoutingDirection \
-LayerArrayValue {M1 M3 M5 M6} -group grpA -StringAsIntValue horzPrefROutingDir
set_constraint -constraint oaPreferredRoutingDirection \
-LayerArrayValue (M2 M4} -group grpA -StringAsIntValue vertPrefRoutingDir
create_preferred_direction_region -name regionA -group grpA -region {200 200 400 450}
Related Topics
delete_preferred_direction_region
Return to top