AnsweredAssumed Answered

Component

Question asked by shainaor on Aug 11, 2016
Latest reply on Aug 11, 2016 by Patrick.Cashman

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

Outcomes