Generates a copy of current scheme.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since: 2022
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- name
- Type: System String
The desired name of copied scheme.
Return Value
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 |