RVTDocs.com

UpdaterRegistry.IsUpdaterEnabled

Method
Description:
Checks if the updater is enabled or not.
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.
Syntax
public static bool IsUpdaterEnabled(
	UpdaterId id
)
Parameters
Parameter Type Description
id UpdaterId The updater id.
Return Value
Type Description
Boolean Returns true if the updater is enabled, false otherwise.
Exceptions
Exception Condition
ArgumentException Updater with this Id is not currently registered in Revit.
ArgumentNullException A non-optional argument was null