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

Create base view specific sheet

NachitoMax
Advisor

Create base view specific sheet

NachitoMax
Advisor
Advisor
Hi

When creating a base view on a sheet by using a drawing template, can you select a a specific sheet from the template to add the view to?

Cheers

Nacho

Nacho
Automation & Design Engineer

Inventor automation Programmer (C#, VB.Net / iLogic)
Furniture, Sheet Metal, Structural, Metal fab, Tradeshow, Fabrication, CNC

EESignature


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


0 Likes
Reply
215 Views
1 Reply
Reply (1)

dgreatice
Collaborator
Collaborator

Hi,

 

Yes you can. with this code:

Dim oDWGdoc as DrawingDocument

oDWGDoc = ThisApplication.ActiveDocument

 

Dim oSht as Sheet

'oSht = oDWGDoc.sheets.item(1)  'With index, result get sheet:1 ; or

'oSht = oDWFDoc.sheets.item("test:2") ' with name of sheet  ; pick one

 

'next you're code

 

Please use the ACCEPT AS SOLUTION or KUDOS button if my Idea helped you to solve the problem.

Autodesk Inventor Professional Certified 2014
0 Likes