RegisterCommand Method


External Data Manager Command Register Command Method

Registers a command.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public static void RegisterCommand(
	ExternalDataManagerCommand command
)

Parameters

command ExternalDataManagerCommand
The command to be registered.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
Remarks
This overload is intended to be used by external servers that already have a fully-constructed ExternalDataManagerCommand instance. The service copies the supplied metadata and adds the command to the global registry.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →