PanelScheduleView.CreateInstanceView(Document, ElementId, ElementId)
Method
Description:
Creates a new instance of this view (using specific template)
Creates a new instance of this view (using specific template)
Syntax
public static PanelScheduleView CreateInstanceView(
Document ADoc,
ElementId templateId,
ElementId panelId
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| ADoc | Document | The Document |
| templateId | ElementId | The templateId that this function will use |
| panelId | ElementId | Element id of the electrical panel element. |
Return Value
| Type | Description |
|---|---|
| PanelScheduleView | The PanelScheduleView |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |