EnableUpdater Method


Enables the updater.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2015

Syntax

C#
public static void EnableUpdater(
	UpdaterId id
)
Visual Basic
Public Shared Sub EnableUpdater ( _
	id As UpdaterId _
)
Visual C++
public:
static void EnableUpdater(
	UpdaterId^ id
)

Parameters

id
Type: Autodesk.Revit.DB UpdaterId
The updater id.

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.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException Updater with this Id is not currently registered in Revit.
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was NULL

See Also