UpdaterRegistry.SetExecutionOrder Method

UpdaterRegistrySetExecutionOrder Method

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

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static void SetExecutionOrder(
	UpdaterId first,
	UpdaterId second
)
Public Shared Sub SetExecutionOrder ( 
	first As UpdaterId,
	second As UpdaterId
)
public:
static void SetExecutionOrder(
	UpdaterId^ first, 
	UpdaterId^ second
)
static member SetExecutionOrder : 
        first : UpdaterId * 
        second : UpdaterId -> unit 

Parameters

first  UpdaterId
Id of first Updater
second  UpdaterId
Id of second Updater
Exceptions
ExceptionCondition
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
ArgumentNullException A non-optional argument was null
ArgumentsInconsistentException The updaters do not report the same ChangePriority
See Also