Skip to content

ScheduleField

Public Class

A field in a schedule.

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.ScheduleField

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public class ScheduleField : IDisposable

The ScheduleField type exposes the following members.

Properties

Name

Description


Public Property
ColumnHeading

The column heading text.


Public Property

The ScheduleDefinition that this field belongs to.


Public Property
DisplayType

Indicates the chosen display type for the field.


Public Property

The ID of the field in the containing ScheduleDefinition.


Public Property

The index of the field in the containing ScheduleDefinition.


Public Property

The type of data displayed by the field.


Public Property
GridColumnWidth

The width of the column in the editable grid view, measured in feet.


Public Property

Identifies if this ScheduleField object has access to a SchedulableField. Calculated and combined parameter fields will not have the access.


Public Property

The orientation of the column heading text.


Public Property

The horizontal alignment of the column’s data.


Public Property

Indicates if the field is a calculated field (Formula or Percentage).


Public Property

Indicates if the field is a combined parameter field.


Public Property
IsHidden

Indicates if the field is hidden in the schedule.


Public Property

Indicates if the field is overridden or not.


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Public Property

The custom multiple values text to be used when the schedule field displays multiple element values, used when MultipleValuesDisplayType is set to Custom.


Public Property
MultipleValuesDisplayType

Determines the type of multiple value indication to be used when the schedule field displays multiple element values.


Public Property

The multiple values text to be used when the schedule field displays multiple element values, as specified by the display type MultipleValuesDisplayType.


Public Property
ParameterId

The ID of the parameter displayed by the field.


Public Property
PercentageBy

The ID of the grouped schedule field used to calculate percentage totals.


Public Property
PercentageOf

The ID of the field to calculate percentages of.


Public Property

The schedule that this field belongs to.


Public Property
SheetColumnWidth

The width of the column on a sheet, measured in feet.


Public Property

In an assembly schedule view, indicates if totals are calculated for all assembly instances of the same type or only for a single instance.


Public Property

The vertical alignment of the column’s data.


Methods

Name

Description


Public Method

Indicates if this field can display minimum and maximum values.


Public Method

Indicates if totals can be enabled for this field.


Public Method

Indicates if totals by assembly type can be enabled for this field.


Public Method

Checks whether a field ID would create a circular chain of references when used by the PercentageOf property of this field.


Public Method

Releases all resources used by the ScheduleField


Public Method

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)


Public Method

Gets this field’s combine parameter array if applicable


Public Method

Gets the data associated with this custom field. If this field isn’t a CustomField will return ..


Public Method

Gets the FormatOptions to optionally override the default settings in the Units class.


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method

Gets the name of the field.


Public Method
GetSchedulableField

Gets a SchedulableField object representing this field.


Public Method

The spec describing values of this field, if applicable.


Public Method

Gets the style of this field.


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method

Checks if data is valid for combined parameters


Public Method

Resets the override of this field.


Public Method

Sets this field’s combine parameter array if applicable


Public Method
Code Example
SetFormatOptions

Sets the FormatOptions to optionally override the default settings in the Units class.


Public Method

Sets the style of this field.


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)


Remarks

The ScheduleField class represents a single field in a ScheduleDefinition’s list of fields. Each (non-hidden) field becomes a column in the schedule.

Most commonly, a field represents an instance or type parameter of elements appearing in the schedule. Some fields represent parameters of other related elements, like the room that a scheduled element belongs to. Fields can also represent data calculated from other fields in the schedule, specifically Formula and Percentage fields. Another type of field is Custom Field. For this one, the value for each row is computed based on the (sub)elements that are grouped on that row and can have a graphic representation when the schedule is placed on a sheet.