Revit 2025.3 API
Panel |
Copies all values from other element to this object.
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public void CopyFrom( Document OtherADoc, PanelScheduleTemplate otherElem )
Public Sub CopyFrom ( OtherADoc As Document, otherElem As PanelScheduleTemplate )
public: void CopyFrom( Document^ OtherADoc, PanelScheduleTemplate^ otherElem )
member CopyFrom : OtherADoc : Document * otherElem : PanelScheduleTemplate -> unit
Parameters
- OtherADoc Document
- The Document for the otherElem
- otherElem PanelScheduleTemplate
- The element being copied from.
| Exception | Condition |
|---|---|
| ArgumentException | The given template otherElem has different type of this element. |
| ArgumentNullException | A non-optional argument was null |
See Also