ExternalDataManagerCommandRegisterCommand 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
ExceptionCondition
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