Looks up and retrieves the Revit command id with the given id string.
Namespace:
Autodesk.Revit.UI
Assembly:
RevitAPIUI
(in RevitAPIUI.dll) Version: 17.0.0.0 (17.0.484.0)
Since:
2013
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- name
-
Type:
System
String
he Revit command name. Refer to the entries in the Revit journal to find the string to use for a particular command.
Return Value
The Revit command id. Returning "null" if a command with the given name was not found.Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions ArgumentNullException | A non-optional argument was NULL |