How to Select a V5 Product in code
How to Select a V5 Product in code
(OP)
I'm having trouble with the SetRealColor method with respect to my product. Largely, the problem is that my object is a product object and the method expects a selection object. How do I convert my product object into a selection object? In VBA, this would be trivial (Product1.Select) but in CATIA, the product object doesn't support a .Select method. What can I do?





RE: How to Select a V5 Product in code
set oSel = oDocument.selection
oSel.add oProduct
oSel.visproperties.SetRealColour 255,255,255,0
RE: How to Select a V5 Product in code
Cheers,
RE: How to Select a V5 Product in code
Cheers,
RE: How to Select a V5 Product in code