2027 Class
Changes 0
C

RevitCommandId

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