Duplicate
Method
Description:
Generates a copy of current scheme.
Generates a copy of current scheme.
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 |