multiple sheet idw titleblock and borders
Not applicable
02-18-2015
07:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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