1 year ago
#329471
Yume
Catia VBA-How to subtract selected item
I wan to write a code to select parent item in catia. I select a object then run this code.
Set Sel = CATIA.ActiveDocument.Selection
Sel.Add Sel.Item(1).LeafProduct.Parent.Parent
then 2 item selected: item(1),item(2). How to subtract item(1)? Thanks
vba
catia
0 Answers
Your Answer