RVTDocs.com

Duplicate

Method
Description:
Generates a copy of current scheme.
Syntax
public ElementId Duplicate(
	string name
)
Parameters
Parameter Type Description
name System.String The desired name of copied scheme.
Return Value
Type Description
Autodesk.Revit.Exceptions.ArgumentException The id of copied scheme.
Exceptions
Exception Condition
Autodesk.Revit.Exceptions.ArgumentException The name is not valid for new generated scheme.
Autodesk.Revit.Exceptions.ArgumentNullException A non-optional argument was null