Alan Lowbands
Aerospace
Hi,
I'm trying to get the instance name from a selected part but with no luck.
I cant find anything in the v5 automation file but found some code online.
I have asked this in another thread but I thought I would ask everyone as i'm stuck.
Set InstName = CATIA.ActiveDocument.Selection.Name.Value "dosent work"
&
Set InstName = sSel.Item(1).Value "This one returns the part name"
thanks
Alan
I'm trying to get the instance name from a selected part but with no luck.
I cant find anything in the v5 automation file but found some code online.
I have asked this in another thread but I thought I would ask everyone as i'm stuck.
Set InstName = CATIA.ActiveDocument.Selection.Name.Value "dosent work"
&
Set InstName = sSel.Item(1).Value "This one returns the part name"
thanks
Alan