Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Copy a drawing to a new sheet in the same drawing file?

4 REPLIES 4
Reply
Message 1 of 5
zma1013
2319 Views, 4 Replies

Copy a drawing to a new sheet in the same drawing file?

Is there a way to copy a drawing sheet and all it's views and annotations to a new sheet within the same drawing file?

IV2012

Windows XP SP3 32-bit
Intel Core 2 Duo 6400 @ 2.13 GHz
Nvidia Quadro FX 3450/4000 SDI 256MB Vram
2 GB Ram
160GB HDD
4 REPLIES 4
Message 2 of 5
-Aaron-
in reply to: zma1013

Don't know about copying the sheet and pasting to the same drawing, but:

 

-you can create a new sheet

-copy existing views from other sheet

-paste to new sheet

 

Some more mouse clicks, but results are the same.  Dims and anything associated with the view will be copied.  This works for 2010...

-Aaron-
Formerly ASI_Aaron
i7-6700k
ASUS Z170-AR
Gigabyte GTX 970
16gb RAM
512gb Samsung 950 Pro
Message 3 of 5
bobvdd
in reply to: -Aaron-

You could also use attached VBA macro to copy the active sheet to a new sheet in the same drawing. Should work in any release of Inventor.

 

Sub copy_sheet()
    Dim oDrawingDocument1 As DrawingDocument
    Dim oDrawingDocument2 As DrawingDocument
    Dim oSheet As Sheet
    
    Set oDrawingDocument1 = ThisApplication.ActiveDocument
    Set oDrawingDocument2 = ThisApplication.Documents.Add(kDrawingDocumentObject, , False)
    Set oSheet = oDrawingDocument1.ActiveSheet
    oSheet.CopyTo oDrawingDocument2
    Set oSheet = oDrawingDocument2.Sheets.Item(oDrawingDocument2.Sheets.Count)
    oSheet.CopyTo oDrawingDocument1
    oDrawingDocument2.Close True
End Sub

 Cheers

Bob




Bob Van der Donck


Principal UX designer DMG group
Message 4 of 5
-Aaron-
in reply to: bobvdd

Thanks for this Bob. This will come in handy...

 

EDITED: Bob, please see screen shots.  Is there any reason why this macro would move my Section View away from it's original position??

-Aaron-
Formerly ASI_Aaron
i7-6700k
ASUS Z170-AR
Gigabyte GTX 970
16gb RAM
512gb Samsung 950 Pro
Message 5 of 5
snowflake30
in reply to: bobvdd

Spot on

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

Post to forums  

Autodesk Design & Make Report