Quantcast
Channel: Mentor Graphics Communities: Message List
Viewing all articles
Browse latest Browse all 4541

Re: Script to list or highlight nets with protected status

$
0
0

Try this code;

 

Sub Main

'This will search all routesegments in design for protected status

'if true it adds net to selection status then control "H" add highlight

'to selected nets "N" will remove highlight from all nets afetwards.

  For Each objroute In ActiveDocument.RouteSegments
    If objroute.protected = true Then objroute.net.selected = True
  Next objroute
End Sub


Viewing all articles
Browse latest Browse all 4541

Trending Articles



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