HasSameType Method


Panel Schedule Template Has Same Type Method

Checks if given template has the same panel schedule type with this template.

Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool HasSameType(
	PanelScheduleTemplate otherTemplate
)

Parameters

otherTemplate PanelScheduleTemplate
The given template to check.

Return Value

Boolean
True if the given template has the same panel schedule type with this template, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
Remarks
The panel schedule type is the enum type of PanelScheduleType class (Branch, switchboard, data etc.)
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →