Share

UpdaterRegistry.IsUpdaterEnabled Method

Checks if the updater is enabled or not.


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

Syntax

C#

public static bool IsUpdaterEnabled(
	UpdaterId id
)

Parameters

id  UpdaterId
The updater id.

Return Value

Boolean
Returns true if the updater is enabled, false otherwise.

Exceptions

ExceptionCondition
ArgumentException Updater with this Id is not currently registered in Revit.
ArgumentNullException A non-optional argument was null

Remarks

Even when an updater is enabled it could still be suspended for misbehaving, in which case it would not be executed regardless of its enable/disable status.

See Also

Reference

Was this information helpful?