SetExecutionOrder Method


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

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.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.DB UpdaterId
Id of first Updater
second
Type: Autodesk.Revit.DB UpdaterId
Id of second Updater

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException 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.Exceptions ArgumentNullException A non-optional argument was NULL
Autodesk.Revit.Exceptions ArgumentsInconsistentException 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 →