
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I'm working on an automated drawing project now.
I would like to change the scale of detail view B (In the picture 5:1 scale) in order to show the component in a proper size depending on the size of diameter. Is there any way to access detail drawing view by name? I tried to check some API sample code but there is only way to create a new detail view ( AddDetailView method) and it even goes to the original base view which is outside of the drawing frame... I could manage to change the scale A-A section view because it was easy to access to the base drawing view (the code something like below).
Dim oDoc As Inventor.DrawingDocument
Dim oViewA As DrawingView
oViewA = oDoc.ActiveSheet.DrawingViews.Item(1)
oViewA.[Scale] = 0.65
But I don't know how to access to detail view B which is a child of child (section A) of the base view. Can anyone help? Thanks in advance!
Solved! Go to Solution.