macro - current selection
macro - current selection
(OP)
Hi everyone,
I´ve got a question to get with macro current selection in Catia.
I know to get a Brep reference, but i don´t need it right now. I want "path" of selected feature in format like is in "status bar" looks like "Face.15/Translate.1/Geometrical Set"
Can you someone help me please?
Thanks a lot
I´ve got a question to get with macro current selection in Catia.
I know to get a Brep reference, but i don´t need it right now. I want "path" of selected feature in format like is in "status bar" looks like "Face.15/Translate.1/Geometrical Set"
Can you someone help me please?
Thanks a lot





RE: macro - current selection
CODE --> vb.net
plane1 = selection1.item(1).value oParent = plane1 Do sPath = "\" & oParent.Name & sPath oParent = oParent.Parent i = i + 1 Loop Until TypeName(oParent) = "PartDocument" Or i = 100Tiago Figueiredo
Tooling Engineer
Youtube channel:
https://www.youtube.com/channel/UC1qdlBeJJEgMgpPLV...