Hi,
I've a view (generative view) linked to a product
Im trying to open this Product Document from the generated view.
Note: view is generated from one of the Enhanced Scene.
Product Tree Structure is as below:
|- Product
|- Part1
|
|
|-Applications
|- Scenes
|-Scene.1
When i use the following method it fails -
Set oLinkReferenceProduct = View.GenerativeBehavior.Document '--------> Works gives back the scene.1
Set oLinkReferenceProductParent = oLinkReferenceProduct.Parent '-----------> Gives Scenes Collection
Set oDocLinked = oLinkReferenceProductParent.Parent '-----------> ' Returns object i.e Technological object.
Set oDoc =oDocLinked.Parent '--------------------> Fails
or
Set oLink = oView.GenerativeLinks.FirstLink --------> Works gives back the scene.1
Set oLinkParent = oLink.Parent --------> Works gives back the Scenes
Set oLinkParentParent = oLinkParent.Parent ------> Gives back object i.e Technological object.
My question is how to get the parent document through view in this case?
Hope to get a valuable feedback on how to go ahead.
Regards,
Maddy
I've a view (generative view) linked to a product
Im trying to open this Product Document from the generated view.
Note: view is generated from one of the Enhanced Scene.
Product Tree Structure is as below:
|- Product
|- Part1
|
|
|-Applications
|- Scenes
|-Scene.1
When i use the following method it fails -
Set oLinkReferenceProduct = View.GenerativeBehavior.Document '--------> Works gives back the scene.1
Set oLinkReferenceProductParent = oLinkReferenceProduct.Parent '-----------> Gives Scenes Collection
Set oDocLinked = oLinkReferenceProductParent.Parent '-----------> ' Returns object i.e Technological object.
Set oDoc =oDocLinked.Parent '--------------------> Fails
or
Set oLink = oView.GenerativeLinks.FirstLink --------> Works gives back the scene.1
Set oLinkParent = oLink.Parent --------> Works gives back the Scenes
Set oLinkParentParent = oLinkParent.Parent ------> Gives back object i.e Technological object.
My question is how to get the parent document through view in this case?
Hope to get a valuable feedback on how to go ahead.
Regards,
Maddy