PanelScheduleData
The PanelScheduleData class holds most of the data that describe the layout, appearance, and style of the rows, columns, and cells of a panel schedule
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.TableData
Autodesk.Revit.DB.Electrical.PanelScheduleData
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class PanelScheduleData : TableData
The PanelScheduleData type exposes the following members.
Properties
Name
Description
Public Property
BodyShowsVerticalHeaders
Shows text in the Load Summary section’s headers vertically instead of horizontally
Public Property
BorderAroundSchedule
Places a border (GraphicStyle element) around the entire schedule, visible only on the instance and sheet
Public Property
BorderAroundSections
Places a border (GraphicStyle element) around each section, visible only on the instance and sheet
Public Property
FreezeColumnsAndRows
set to true if the columns and rows should be unmovable by the slider grips
(Inherited from TableData)
Public Property
IsAutoShadingForLoadDisplay
Display shading of load cells automatically or not.
Public Property
IsFooterSectionHidden
True if the user wishes to hide the footer section; setting this value must go through the appropriate update function
Public Property
IsHeaderSectionHidden
True if the user wishes to hide the header section; setting this value must go through the appropriate update function
Public Property
IsPanelSinglePhase
Identifies if the panel is single phase.
Public Property
IsSummarySectionHidden
True if the user wishes to hide the summary section; setting this value must go through the appropriate update function
Public Property
IsUnusedPhaseHidden
True if the user wishes to hide the unused phase column of a single phase panel, false otherwise.
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
(Inherited from TableData)
Public Property
NumberOfSections
Gets the number of items in section data array.
(Inherited from TableData)
Public Property
NumberOfSlots
The number of slots in the panel schedule; setting this value must go through the appropriate update function
Public Property
PanelConfiguration
The panel configuration of this panel schedule
Public Property
PhaseLoadType
This property determines the layout of the phase load columns; setting this value must go through the updateCircuitTable function
Public Property
PhasesAsCurrents
If true, the phase columns are currents (A), otherwise they are loads (VA); setting this value must go through the appropriate update function
Public Property
ScheduleType
The panel schedule type of this panel schedule
Public Property
ShowCircuitNumberOnOneRowForMultiphaseCircuits
Shows the circuit number broken up on each row of the multiphase circuit rows if true, all on the first row otherwise
Public Property
ShowMultipleRowsForMultiphaseCircuits
shows extra rows below multiphase circuits to indicate how many slots they take up if true, all on a single row otherwise
Public Property
ShowSlotFromDeviceInsteadOfTemplate
When true, the number of rows in an instance will be the number of poles on the associated device, not a set number
Public Property
SummaryShowsGroups
Show groups of load classifications in the load summary section
Public Property
SummaryShowsOnlyConnectedLoads
Show only the connected load classifications in the summary section
Public Property
SummaryShowsVerticalHeaders
Shows text in the Load Summary section’s headers vertically instead of horizontally
Public Property
Width
Gets or sets the table width in feet
(Inherited from TableData)
Public Property
WidthInPixels
Gets the width of the panel schedule in logical pixels
(Inherited from TableData)
Public Property
ZoomLevel
The value of zoom level for corresponding TableView.
(Inherited from TableData)
Methods
Name
Description
Public Method
AddLoadClassification
Add a Load Classification Id to the array of Load Classifications.
Public Method
Dispose
(Inherited from TableData)
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetLoadClassifications
Gets an array of the load classifications associated with this panel schedule
Public Method
GetNumberOfCircuitRows
Gets the number of rows in the circuit table
Public Method
GetSectionData(Int32)
Returns the section data array element at the specified index.
(Inherited from TableData)
Public Method
GetSectionData(SectionType)
Returns the pointer to the section data array element at the specified section type.
(Inherited from TableData)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
IsEqual
Checks if this element is equal in value to the other element.
(Inherited from TableData)
Public Method
IsSymmetric
Check if this panel schedule is symmetric
Public Method
IsValidZoomLevel
Verifies if the value of zoom level is valid.
(Inherited from TableData)
Public Method
RemoveLoadClassification
Remove a Load Classification Id from the array of Load Classifications
Public Method
SetBorderAroundSchedule
Adds a border around the schedule
Public Method
SetBorderAroundSections
Adds a border around the sections
Public Method
SetLoadClassifications
Sets the Load Classifications associated with this panel schedule
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)
Public Method
UpdateCircuitTableForInstance
Redraw the circuit table for the given panel with the given parameter updates
Public Method
UpdateCircuitTableForTemplate
Redraw the circuit table for a template with the given parameter updates
Public Method
UpdateIsSectionHidden
Update if this section is hidden or not
Public Method
UpdateLoadSummary
Update the load summary section
Public Method
UpdateVerticalHeadersInSection
Sets if this header should have vertical text