In a key schedule, the name of the parameter for choosing one of the keys.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public string KeyScheduleParameterName { get; set; }
Property Value
StringThe name of the key schedule parameter.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | When setting this property: A non-optional argument was null |
InvalidOperationException | This ViewSchedule is not key schedule. |
ModificationForbiddenException | When setting this property: The document containing this ViewSchedule is in failure mode: an operation has failed, and Revit requires the user to either cancel the operation or fix the problem (usually by deleting certain elements). -or- When setting this property: The document containing this ViewSchedule is being loaded, or is in the midst of another sensitive process. -or- When setting this property: This ViewSchedule is an internal element, such as a component of a loaded family or a group type. -or- When setting this property: The document containing this ViewSchedule is in Group Edit Mode, Sketch Edit Mode, or Paste Mode, and the element is not a member of the group, sketch, or clipboard. -or- When setting this property: This ViewSchedule is a member of a group or sketch, and the document is not currently editing the group or sketch. |
ModificationOutsideTransactionException | When setting this property: The document containing this ViewSchedule has no open transaction. |