SetExecutionOrder Method


Forces execution order between two updaters Execution order: first before second

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2011

Syntax

C#
public static void SetExecutionOrder(
	UpdaterId first,
	UpdaterId second
)
Visual Basic
Public Shared Sub SetExecutionOrder ( _
	first As UpdaterId, _
	second As UpdaterId _
)
Visual C++
public:
static void SetExecutionOrder(
	UpdaterId^ first, 
	UpdaterId^ second
)

Parameters

first
Type: Autodesk.Revit.DBUpdaterId
Id of first Updater
second
Type: Autodesk.Revit.DBUpdaterId
Id of second Updater

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentException One or both inputs are not valid UpdaterIds -or- One or both of the Updaters are not registered -or- first and second are the same id
Autodesk.Revit.ExceptionsArgumentNullException A non-optional argument was null
Autodesk.Revit.ExceptionsArgumentsInconsistentException The updaters do not report the same ChangePriority

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →