The ID of the grouped schedule field used to calculate percentage totals.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.3.0.0 (26.3.0.0)
Syntax
C#
public ScheduleFieldId PercentageBy { get; set; }
Property Value
ScheduleFieldIdInvalidElementId or the ID of the grouped field.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | When setting this property: percentageBy is not InvalidScheduleFieldId or the ID of a field that the schedule is grouped by. |
| ArgumentNullException | When setting this property: A non-optional argument was null |
| InvalidOperationException | When setting this property: This ScheduleField is not a percentage field. |
