2020 Method
Changes 4
M

RevitCommandId.LookupPostableCommandId

Description:
Looks up and retrieves the Revit command id with the given id string.
public static RevitCommandId LookupPostableCommandId(
	PostableCommand postableCommand
)
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.