UIApplication.CanPostCommand
Description:
Identifies if the given command can be posted, using .
Identifies if the given command can be posted, using .
Remarks:
Only members of Autodesk.Revit.UI.PostableCommand or external commands can be posted.
Only members of Autodesk.Revit.UI.PostableCommand or external commands can be posted.
public bool CanPostCommand(
RevitCommandId commandId
)
-
commandIdThe command Id.
Return Value
bool
-
Thrown when commandId isnullNothingnullptra null reference (Nothingin Visual Basic).