RVTDocs.com
Namespace: Autodesk.Revit.UI Class: UIApplication

UIApplication.CanPostCommand

Method
Description:
Identifies if the given command can be posted, using .
Remarks:
Only members of Autodesk.Revit.UI.PostableCommand or external commands can be posted.
Syntax
public bool CanPostCommand(
	RevitCommandId commandId
)
Parameters
Parameter Type Description
commandId RevitCommandId The command Id.
Return Value
Exceptions
Exception Condition
ArgumentNullException Thrown when commandId is.