Select all occurrence from selected assembly

I want to selct all occurrences that are in a selected subassembly, but only the parts and sheet metal parts. Also I want to select the parts en sheet metal parts wich are in a subassembly of the selected assembly (for all levels). 

It means the following:

Topasm

   Subasm

      Par

      Psm

      Subasm2

         Par1

         Par2

When opening Topasm select the Subasm. Then run the macro wich select Par,Psm and Par1,Par2.

I use this to assign file properties to all that parts.

Any body an idea how to do this in VB.NET?

 

 

 

 

Posted by: marthijn van Leeuwen
Post date: 11/14/2011 8:47:09 PM