PanelScheduleViewCreateInstanceView(Document, ElementId) Method |
Creates a new instance of this view (using default template)
Namespace: Autodesk.Revit.DB.ElectricalAssembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntaxpublic static PanelScheduleView CreateInstanceView(
Document ADoc,
ElementId panelId
)
Public Shared Function CreateInstanceView (
ADoc As Document,
panelId As ElementId
) As PanelScheduleView
public:
static PanelScheduleView^ CreateInstanceView(
Document^ ADoc,
ElementId^ panelId
)
static member CreateInstanceView :
ADoc : Document *
panelId : ElementId -> PanelScheduleView
Parameters
- ADoc Document
-
The Document
- panelId ElementId
-
Element id of the electrical panel element.
Return Value
PanelScheduleView
The PanelScheduleView
Exceptions
See Also