Identifies if the given command can be posted, using PostCommand(RevitCommandId).
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
C#
public bool CanPostCommand( RevitCommandId commandId )
Parameters
- commandId RevitCommandId
- The command Id.
Return Value
BooleanExceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when commandId is null. |