10-05-2022
12:26 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
10-05-2022
12:26 PM
OK,
Create new drawing once in Main() method. You have method for creation sheet layout "CreateFirstSheet()" which accepts sheet and assembly document as arguments.
Now you can create new sheet within "For Each doc As Document In oAsmDoc.AllReferencedDocuments" loop and create layout using "CreateFirstSheet(newSheet, doc)" instead of "CreteAssemblyDrawing(doc, templateFile)"