poly_path_count()

Select polygons based upon path count information computed during a merge operation. Input layer must be the result of a merge command. Returns: A polygon layer.

See also: dve_drc()

Syntax

dve_drc (poly_path_count (inLayer) operator distance [, qualifierName, qualifierValue]);

where:

inLayer A polygon layer produced by a merge operation between two layers
operator < Less than
<= Less than or equal to
== Equal to
> Greater than
>= Greater than or equal to
value A real value in layout units
qualifierName, qualifierValue A name, value pair that qualifies the rule

Path Count Qualifier: DVE_RN_PATH_COUNT

Qualifier Resource Value:

DVE_RV_PATH_COUNT (default) Select based upon path count of top polygon
DVE_RV_ANTI_PATH_COUNT Select based upon path count of bottom polygon

Path Code Qualifiers

DVE_RN_PATH_CODE

Example 1

decl lyrCond = dve_import_layer ("cond");
decl lyrCond2 = dve_import_layer ("cond2");
decl lyrError101 = dve_export_layer ("error101");
decl lyrPolyMerge = NULL;
decl lyrPoly = NULL;
lyrPolyMerge = dve_bool_not (lyrCond, lyrCond2);
lyrPoly = dve_drc (poly_path_count (lyrPolyMerge) >= 1,
        DVE_RN_PATH_CODE, DVE_RV_TOP,
        DVE_RN_PATH_CODE, DVE_RV_INT);
lyrError101 += dve_drc (all_edges (lyrPoly),
        "Metal layer outside and butting internally");

Example 2

See poly_path_length(), Example 2

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources