Quantcast
Channel: Cadence Technology Forums
Viewing all articles
Browse latest Browse all 62638

Forum Post: RE: Turning enclosed lines into a shape?

$
0
0
That worked great! I just edited a bit to fit our scheme. Thanks so much! procedure( DE_ConvertLineToShape() let((lineDBID, shapeLayer, poly, path) axlSetFindFilter( ?enabled '( "noall" "lines") ?onButtons '( "noall" "lines" )) lineDBID = axlGetSelSet(axlSingleSelectBox()) shapeLayer = "PACKAGE GEOMETRY/DFA_BOUND_TOP" when(lineDBID foreach(item lineDBID item ->objType == "path" && onep(item ->nSegs) && item ->hasArcs || item ->nSegs > 2 && axlGeoPointsEqual(car(car(item ->segments) ->startEnd), cadr(lastelem(item ->segments) ->startEnd)) path = axlDB2Path(item) poly = car(axlPolyFromDB(path)) axlDBCreateShape(poly, t, shapeLayer) );foreach ); when );let );proc

Viewing all articles
Browse latest Browse all 62638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>