UIApplication.PostCommand
Description:
Posts the command to the Revit message queue to be invoked when control returns from the current API context.
Posts the command to the Revit message queue to be invoked when control returns from the current API context.
public void PostCommand(
RevitCommandId commandId
)
-
commandIdThe command Id.
-
Thrown when commandId isnullNothingnullptra null reference (Nothingin Visual Basic).
-
If the command cannot be posted.
-
If there is a command already been posted.