• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

duplicate sheet.

  • Thread starter Thread starter graziano-g
  • Start date Start date

graziano-g

Guest
hi, it may happen to have the need to make a multifoil table, a component in order to indicate in sequence a series of works, or a set to provide detailed indications of a mounting sequence, without weighing down the drawing made in a single view.

the following macro allows, after producing the first table, its exact and complete duplication on which it is possible to act with all possible tools regardless of the source table and those generated.

Maybe someone can help.
Hello, good day to all.

sub duplicate_sheet()
dim odoc as drawingdocument
set odoc = thisapplication.activedocument
dim tmpdoc as drawingdocument
tmpdoc = thisapplication.documents.add (kdrawingdocumentobjecttrue)
dim newsheet as sheet
set newsheet = odoc.activesheet.copyto (tmpdoc)
call newsheet.copyto (odoc)
tmpdoc.close (true)
end
how to copy and paste a sheet into the same design as inventor | inventor 2019 | autodesk knowledge networkproblem: after copying a sheet in the notes, it is not possible to paste it into the same design. causes: inventor does not support the copy-paste operation of a sheet within a drawing
knowledge.autodesk.com
knowledge.autodesk.com
 
ottimo !!!
ho fatto piccole modifiche per gestirlo anche come regola ilogic
grazie

dim odoc as drawingdocument
odoc = thisapplication.activedocument
dim tmpdoc as drawingdocument
tmpdoc = thisapplication.documents.add(kdrawingdocumentobject, , true)
dim newsheet as sheet
newsheet = odoc.activesheet.copyto(tmpdoc)
call newsheet.copyto(odoc)
tmpdoc.close (true)
 
Hi.
... I just found out that in version 2021.... finally it works copy-paste of the sheets without doing anything!1614075193574.webp
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top