RVTDocs.com
Namespace: Autodesk.Revit.UI Class: RevitCommandId

RevitCommandId.LookupPostableCommandId

Method
Description:
Looks up and retrieves the Revit command id with the given id string.
Syntax
public static RevitCommandId LookupPostableCommandId(
	PostableCommand postableCommand
)
Parameters
Parameter Type Description
postableCommand PostableCommand The postable command.
Return Value
Type Description
RevitCommandId The Revit command id. Returning if a command with the given name was not found.
Exceptions
Exception Condition
ArgumentNullException Thrown when name is.