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

Forum Post: RE: How to select shapes overlapped by a text or label ?

$
0
0
I'd probably use pcre functions, but the principle is similar (you only need to use the rex functions if using IC5141): cv=geGetEditCellView() labelPat=pcreCompile("^vref_[123]$") foreach(shape cv~>shapes when(shape~>objType=="label" && pcreExecute(labelPat shape~>theLabel) ; could use rexMatchp here instead shapesUnderneath=dbGetTrueOverlaps(cv list(shape~>xy shape~>xy) t 0) foreach(under shapesUnderneath unless(under~>objType=="label" geSelectFig(under) ) ) ) ) Note the code above is completely untested - this is just to give you an idea. Regards, Andrew.

Viewing all articles
Browse latest Browse all 62623

Trending Articles



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