Share

ScheduleField.CreatesCircularReferences Method

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


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)

Syntax

C#

public bool CreatesCircularReferences(
	ScheduleFieldId fieldId
)

Parameters

fieldId  ScheduleFieldId
The field ID to check.

Return Value

Boolean
True if the field ID would create a circular chain of references, false otherwise.

Exceptions

ExceptionCondition
ArgumentException fieldId is not InvalidScheduleFieldId or the ID of a field that can be used to calculated percentages.
ArgumentNullException A non-optional argument was null

See Also

Reference

Was this information helpful?