wspCheckActive
wspCheckActive(d_cellviewId t_layerName| ?shapesg_selSetId[ ?regionl_bBox] [ ?purposet_purposeName] [ ?hilightSetg_hlSetId] [ ?markersg_markers[ ?vioLimitg_limit] ] [ ?checkColorg_checkColor] [ ?checkWidthg_checkWidth] [ ?checkWireTypeg_checkWireType] [ ?depthx_depth] [ ?mergeShapesg_mergeShapes[ ?ignoreColorOnMergeg_ignoreColor] ] [ ?mergePurposesl_mergePurposes] [ ?returnVioShapesg_returnVioShapes] [ ?excludeBlockageCheckg_excludeBlockageCheck] [ ?ignoreValidJogsg_ignoreValidJogs] ) => t /l_dbID/ nil
Description
Checks shapes and blockages for width, color, and wireType conformance to the active width spacing pattern (WSP) on the specified layer or in the specified set. The active WSP can be for the global grid or a pattern region.
Arguments
|
Name of the layer to be checked. This argument must be a valid layer name but will be ignored if |
|
|
Database ID of the set of shapes to be checked. If the set is empty or contains objects that are not shapes, an error message is displayed and no checking is done. |
|
|
(Applies only when If this argument is not specified, the entire cellview bounding box is considered by default. The bounding box is in user-specified units. |
|
|
(Applies only when
If this argument is not specified, only the shapes on the |
|
|
Database ID of the highlight set to which the shapes that do not conform to the active WSP color, width, or wireType will be added. If this argument is not specified, non-conforming shapes will not be added to a highlight set. |
|
|
Specifies whether annotation markers will be created for shapes that do not conform to the active WSP.
Valid values:
When this argument is set to
t, the markers are added to the Annotation Browser without clearing any existing markers.
To limit the number of markers that are created, include the |
|
|
Specifies whether the color of each shape will be checked for conformance to the track colors of the active WSP. |
|
|
Specifies whether the width of the shape must match the width of the track.
Valid values:
If set to |
|
|
Specifies whether the wireType of each shape must conform to the wireType of track for the active WSP. |
|
|
Specifies the hierarchy depth up to which the cellview will be checked. |
|
|
Specifies whether to merge same-color shapes and uncolored shapes that are on the same layer-purpose pair before checking for WSP conformance. When set to |
|
|
Merges the shapes on the purposes in the list that are on the same layer and have the same color before checking for WSP conformance. |
|
|
Specifies the maximum number of markers to be created. You must specify |
|
|
(Applies only when |
|
|
Specifies whether to return the list of shapes that do not conform to the active WSP. When set to |
|
|
Specifies whether blockage objects will be checked for snap patterno or width spacing pattern conformance. |
|
|
Specifies whether to ignore jogs that are defined in the |
|
Value Returned
Examples
The following example checks the Metal1:drawing shapes in the edit cellview for width and color conformance to the active WSP. Only the top-level Metal1:drawing shapes in the region bounded by (2:1 4:2) are checked.
wspCheckActive( geGetEditCellView() "Metal1" ?markers t ?checkWireType nil ?depth 0 ?region list(2:1 4:2) )
The following example checks the Metal2:drawing shapes in the edit cellview for width, color, and wireType conformance to the active WSP. Non-conforming shapes are added to the hset highlight set and are drawn with a halo in the canvas.
hset = geCreateWindowHilightSet( hiGetCurrentWindow() list("Metal2" "drawing") )
geSetHilightSetHaloParameters( hset "under" "fadeout" "thick" 33 nil )
retval = wspCheckActive( geGetEditCellView() "Metal2" ?hilightSet hset )
The following example checks the shapes in the selection set for width, color, and wireType conformance to the active WSP. Markers are created for the non-conforming shapes.
myset = geGetSelSet()
retval = wspCheckActive( geGetEditCellView() ?shapes myset ?markers t )
The following example checks the Metal1:drawing shapes for centerline alignment, color, and wireType conformance to the active WSP. Markers are created for the non-conforming shapes.
wspCheckActive( geGetEditCellView() "Metal1" ?checkWidth nil ?markers t )
The following example merges the same-color shapes on the drw1 and drw2 purposes of Metal1 before checking for WSP conformance. For example, all the touching mask1Color shapes on Metal1:drw1 and Metal1:drw2 will be merged, and all the touching uncolored shapes on Metal1:drw1 and Metal1:drw2 will be merged.
wspCheckActive( geGetEditCellView() "Metal1" ?mergePurposes list("drw1" "drw2") )
The following example merges Metal1:drawing shapes, then checks them for centerline alignment, width, and wireType conformance to the active WSP.
wspCheckActive( geGetEditCellView() "Metal1" ?checkColor nil ?mergeShapes t ?ignoreColorOnMerge t)
Related Topics
Return to top