Inputs
sheets : Sheet[]
run : bool
duplicateWithViews : bool
duplicateOption : int
suffix : string
prefix : string
Outputs
report[] : string[]
Sheet[] : Sheet[]
Description
Duplicate selected Revit Sheets with options to duplicate placed Views and specify the method of View duplication. The node will identify illegal characters in View names and clean them automatically, which prevents Revit warnings from terminating the process prematurely if invalid Sheet or View names are encountered.
The algorithm which controls the duplicate View behaviour is designed to maintain the existing View structure; for example, dependent Views are duplicated from a newly created parent View to match the original View hierarchy. The node will also check if the new parent View exists on subsequent runs to handle situations where any of its other dependent Views are duplicated.
The Sheet output returns either the duplicated sheets, or existing sheets if the new duplicate sheet numbers match to support downstream workflows. The report output provides a detailed log of Sheets that fail to duplicate, View names cleaned of illegal characters, and Views that fail to duplicate or cant be placed.
Features
Duplicate selected Sheets with options to duplicate placed Views
View duplication behaviour can be controlled using the duplicateOption input
View names which contain illegal characters are cleaned automatically to prevent exceptions
Dependent Views are duplicated with their parent View to maintain view hierarchy
Sheet annotations including dimensions, Symbols, Detail Lines and groups are duplicated
Report output logs any issues that occurred during the duplicate process