Creates a new instance of a panel schedule template.
Namespace: Autodesk.Revit.DB.ElectricalAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static PanelScheduleTemplate Create(
Document document,
PanelScheduleType type,
PanelConfiguration config,
string strName
)
Parameters
- document Document
-
The document where the element will be created and added.
- type PanelScheduleType
-
The panel schedule type.
- config PanelConfiguration
-
The panel configuration type.
- strName String
-
The name of the panel schedule template to be created.
Return Value
PanelScheduleTemplate
The newly created panel schedule template element.
Exceptions
Remarks
If the given name has already been used by existing panel schedule templates,
a unique name will be used for the newly created template.
See Also
Reference