Command name requirements

I can’t seem to find documentation on what constitutes a valid command name; or a list of invalid characters. This information would be helpful to send to my translators. So they would know the constraints when translating commands names and command options.

I do know about the static functions

CRhinoCommand::IsValidCommandName
CRhinoGet::IsValidOptionName

So I can find if they are valid at runtime. I also know that RhinoCommandWizard.exe tests for validity. So, the API gives me everything I need, but documentation would be helpful for communication with translators.

1 Like

Hi @mike14,

Here is the current logic.

cmdTestCommandName.cpp (3.2 KB)

– Dale

1 Like

Perfect! Thank you.