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

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)"