trackColoringOnlySnappedShapes
mpt trackColoringOnlySnappedShapes boolean { t | nil }
Description
Specifies whether read-only cellviews can be colored by mptReColor and the Multiple Patterning toolbar Recolor All function. The default is t.
Specifies whether shapes inherit the color of the track only when snapped to the track. When set to t, color inheritance depends on the track type and the position of the shape relative to the track:
- For track patterns, the color of the track is inherited only if the centerline of the shape is aligned with the centerline of the track.
- For WSP tracks, the color of the track is inherited only if the centerline of the wire or pathSeg and its edges align with the track’s centerline and edges. For polygons and rectangles, color inheritance requires that the bounding box of the shape align with the track’s edges and that the minimal length for the bounding box in the x or y direction equal the width of the track.
When set to nil, all the shapes overlapping a colored track inherit the color of the track, regardless of the alignment. The default is t.
GUI Equivalent
Examples
envGetVal("mpt" "trackColoringOnlySnappedShapes")
envSetVal("mpt" "trackColoringOnlySnappedShapes" 'boolean nil)
Related Topics
Return to top