Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Anonymous
719 Views, 4 Replies

How to access to a certain drawing view

Hi all,

 

I would like to access to the detail view B (in green circle). To access "VISTA1", I know that I have to write the come something like..

 

Dim oDoc As Inventor.DrawingDocument

Dim oViewA As DrawingView
oViewA = oDoc.ActiveSheet.DrawingViews.Item(1)

 

But I cannot find how to access to a child view of drawing view. Can anyone help me out?

 

And, in the code below, what's the meaning of "1" in the part "Item(1)"? It sounds stupid but I tried Item(B), Item(2.B) etc etc and obviously didn't work at all....

oViewA = oDoc.ActiveSheet.DrawingViews.Item(1)

 

 

Untitled.png

Labels (2)