Duplicate ViewSheet across Documents

Duplicate ViewSheet across Documents

Anonymous
Not applicable
444 Views
1 Reply
Message 1 of 2

Duplicate ViewSheet across Documents

Anonymous
Not applicable

I've been looking for the process of duplicating sheets from a source document to a destination document.

I was able to find the way how to duplicate drafting views from the DuplicateViews project in SDK, but failed to modify the codes for ViewSheets.

Should I copy title blocks first before duplicate sheet elements? Please adress me the steps I need to go through to solve this problem.

I would like to implement the same way as "Insert >> Insert from File >> Insert Views from File >> Sheets only"

Please let me know.

0 Likes
445 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
you should first retrieve the titleblock (familyinstance), then loop over the views to see what views are on the sheet, then create a new sheet and then create duplicates of the views and place them on the sheet.
0 Likes