Skip to content

PanelScheduleTemplate.HasSameType

Public Class

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.)