Relative Content

Tag Archive for vbamacroscatia

CATIA V5 VBA Marco Check Selection for Part or empty Product in Assembly

So basicly i want to know if i have selected a CATPart or a CATProduct in an assembly, but i couldn’t find a suitable check to differentiate between an empty product like “Product4__” and “Part1_ASD2_”. Thats because either one, if selected, will result in Products.Count = 0 and TypeName()=”Product”