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

multiple sheet idw titleblock and borders

Ok, this should be very easy, even though I'm not able to find an answer:

let's say I have an 1page idw (A3.idw), and I want to add a new sheet, with the same border and titleblock of page 1. Of course I would like to do it with ilogic, running it from an .ipt file.

I simply want to set something like

      oSheet2 titlebloc =  oSheet1 title block 

      oSheet2 border = oSheet1 border

 

Thanks in advance

 

 

Dim doc as DrawingDocument
Dim oSheet1 As sheet
Dim oSheet2 As sheet

doc = ThisApplication.Documents.Open("c:\A3.idw" ,False)
oSheet1 = doc.Sheets.Item(1)
oSheet2 = doc.Sheets.add()
oSheet2.TitleBlock=oSheet1.TitleBlock.Name
SyntaxEditor Code Snippet
Tags (1)