Identifies if the given command can be posted, using PostCommand(RevitCommandId).
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.4.0.0 (26.4.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. |
