Namespace:
Autodesk.Revit.UI
RevitCommandId
Class
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.
RevitCommandId Class Members:
Name | Description | Inherited From |
---|---|---|
CanHaveBinding | Indicates whether the command can be assigned a binding to an external add-in. | |
HasBinding | Indicates whether a replacement of either the Execute or CanExecute events (or both) have been applied to this command. | |
Id | The command id. | |
IsValidObject | Specifies whether the .NET object represents a valid Revit entity. | |
Name | The command name. |
Name | Description | Inherited From |
---|---|---|
Dispose | Releases all resources used by the RevitCommandId | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
GetHashCode | Serves as the default hash function. (Inherited from Object ) | Object |
GetType | Gets the Type of the current instance. (Inherited from Object ) | Object |
LookupCommandId | Looks up and retrieves the Revit command id with the given id string. | |
LookupPostableCommandId | Looks up and retrieves the Revit command id with the given id string. | |
ToString | Returns a string that represents the current object. (Inherited from Object ) | Object |