RevitCommandId.LookupPostableCommandId
Description:
Looks up and retrieves the Revit command id with the given id string.
Looks up and retrieves the Revit command id with the given id string.
public static RevitCommandId LookupPostableCommandId(
PostableCommand postableCommand
)
-
postableCommandThe postable command.
Return Value
nullNothingnullptr
The Revit command id. Returning null Nothing nullptr a null reference ( Nothing in Visual Basic) if a command with the given name was not found.
-
Thrown when name isnullNothingnullptra null reference (Nothingin Visual Basic).