Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to Remove a Sheet or Change Sheet size in idw

5 REPLIES 5
Reply
Message 1 of 6
Enokk
412 Views, 5 Replies

How to Remove a Sheet or Change Sheet size in idw

I would like to change th size of a sheet in a idw file.

Problem:
The sheet.size property is readonly, so i thought that i cold remove the sheet and add a new with a diffrent size..
Is this possible??

Thanx..
5 REPLIES 5
Message 2 of 6
scarmart
in reply to: Enokk

This has been promised for some time now. Can we change the Sheet Size with vba yet?
Message 3 of 6
Anonymous
in reply to: Enokk

Yes, this has been available for a few releases now. The Sheet.Size property
is read-write and can be used to control the sheet size.

Sanjay-

wrote in message news:5805371@discussion.autodesk.com...
This has been promised for some time now. Can we change the Sheet Size with
vba yet?
Message 4 of 6
scarmart
in reply to: Enokk

Thanks,
The API help files still say it's read only in AIS11 so I wanted to check before exploring futher. Any examples?
Message 5 of 6
Anonymous
in reply to: Enokk

The description in the help file was incorrect in R11 and has been corrected
for Inventor 2008. Here is a sample...

Sub SheetSize()

Dim oDoc As DrawingDocument
Set oDoc = ThisApplication.ActiveDocument

Dim oSheet As Sheet
Set oSheet = oDoc.ActiveSheet

oSheet.Size = kBDrawingSheetSize

End Sub

Sanjay-

wrote in message news:5805456@discussion.autodesk.com...
Thanks,
The API help files still say it's read only in AIS11 so I wanted to check
before exploring futher. Any examples?
Message 6 of 6
scarmart
in reply to: Enokk

Thanks

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report