Arpad_Jacso
Computer
- Aug 22, 2019
- 14
Hi,
I would like to get the Product's name (e.g: Something.CATProduct) from a drawing view which generated from an enchanted scene.
I've tried the
oDrawingView.GenerativeLinks.FirstLink.Parent.Name 'which gives me "Scenes".
and also tried the
oDrawingView.GenerativeBehavior.document.Parent.Name 'which still gives me "Scenes".
oDrawingView.GenerativeLinks.FirstLink.Parent.Parent.Name or oDrawingView.GenerativeBehavior.document.Parent.Parent.Name doesn't work, it gives an error.
I also found ferdo's earlier reply for the same question:
oDrawingView.Activate
oDrawingView.GenerativeBehavior.document.ReferenceProduct.Parent.Fullname 'but is still gives me an error.
How the hell can I obtain the parent or the referenceproduct of the "Scenes"??
I would like to get the Product's name (e.g: Something.CATProduct) from a drawing view which generated from an enchanted scene.
I've tried the
oDrawingView.GenerativeLinks.FirstLink.Parent.Name 'which gives me "Scenes".
and also tried the
oDrawingView.GenerativeBehavior.document.Parent.Name 'which still gives me "Scenes".
oDrawingView.GenerativeLinks.FirstLink.Parent.Parent.Name or oDrawingView.GenerativeBehavior.document.Parent.Parent.Name doesn't work, it gives an error.
I also found ferdo's earlier reply for the same question:
oDrawingView.Activate
oDrawingView.GenerativeBehavior.document.ReferenceProduct.Parent.Fullname 'but is still gives me an error.
How the hell can I obtain the parent or the referenceproduct of the "Scenes"??