Share

ViewSheet.Duplicate(SheetDuplicateOption) Method

Duplicates this sheet to generate a new one.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)

Syntax

C#

public ElementId Duplicate(
	SheetDuplicateOption duplicateOption
)

Parameters

duplicateOption  SheetDuplicateOption
The option to use when duplicating the sheet.

Return Value

ElementId
The id of the newly created sheet.

Exceptions

ExceptionCondition
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration
InvalidOperationException Sheet cannot be duplicated

See Also

Reference

Was this information helpful?