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

Component

$
0
0

Hi All,

I'm a newbie with automation.

I wrote a script that looks up for a certain refdes and manipulate the nets of this refdes.

 

The specific refdes I'm looking for consist of several symbols.

I thought that the following code result with a component (scomp) that has all the symbols of the specific refdes.

practically scomp is just the first symbol the query finds.

 

 

For Each comp in vdapp.Query(VDM_COMP, VD_ALL)

     if comp.Refdes = UCase(refdesf) then

          Set scomp = comp

          exit for

     end if

Next

 

is it possible to retrieve all of the symbols as an object?

am I doing it wrong and it needs to be done differently?

 

Many thanks for your help,

 

Shai


Viewing all articles
Browse latest Browse all 4541

Trending Articles



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