RevitCommandId
Description:
Represents a command id in Autodesk Revit.
Represents a command id in Autodesk Revit.
Remarks:
Each Revit command is assigned a command id and non-localized name. This class allows you to look up a command by its name, and represents any Revit command in the use of an AddInCommandBinding.
Each Revit command is assigned a command id and non-localized name. This class allows you to look up a command by its name, and represents any Revit command in the use of an AddInCommandBinding.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.UI.RevitCommandId
System.Object
Autodesk.Revit.UI.RevitCommandId
public class RevitCommandId : IDisposable
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Dispose() | None | Releases all resources used by the RevitCommandId | |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| LookupCommandId(String) | RevitCommandId | Looks up and retrieves the Revit command id with the given id string. | |
| LookupPostableCommandId(PostableCommand) | RevitCommandId | Looks up and retrieves the Revit command id with the given id string. | |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| CanHaveBinding | bool | Indicates whether the command can be assigned a binding to an external add-in. | |
| HasBinding | bool | Indicates whether a replacement of either the Execute or CanExecute events (or both) have been applied to this command. | |
| Id | uint | The command id. | |
| IsValidObject | Boolean | Specifies whether the .NET object represents a valid Revit entity. | |
| Name | string | The command name. |