Copies all values from other element to this object.
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Parameters
- OtherADoc
- Type: Autodesk.Revit.DBDocument
The Document for the otherElem
- otherElem
- Type: Autodesk.Revit.DB.ElectricalPanelScheduleTemplate
The element being copied from.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.ExceptionsArgumentException | The given template otherElem has different type of this element. |
| Autodesk.Revit.ExceptionsArgumentNullException | A non-optional argument was null |