AnsweredAssumed Answered

Or'ing Query parameters

Question asked by Andre on Jan 4, 2010
Latest reply on Jan 5, 2010 by Andre

Hi,

 

actually I'm writing a script to remove the XREF attributes since Tools->CrossRef->Remove doesn't work at all on my hierarchical design.

scout.ini is present of course.

 

In order to do this I have to iterate over components (pins) and nets, check for "XREF*" attribute name and delete it.

 

Therefore my query looks like this :

 

For Each SchComp In vdapp.ActiveView.Query(VDM_COMP + VDM_NET, VD_ALL) .... giving me *no* results at all.

 

Using two sequential queries with a single argument only (COMP or NET) works perfectly fine.

 

I expected the required matching to be or'able since the values are looking like a bitmask

 

Am I wrong ? How can I concatenate the query args ?

 

 

Regards,

André

Outcomes