# Command name requirements

**URL:** <https://discourse.mcneel.com/t/command-name-requirements/141866>\
**Category:** Rhino Developer\
**Tags:** windows, language\
**Created:** [April 29, 2022, 7:25pm UTC](https://discourse.mcneel.com/t/command-name-requirements/141866 "2022-04-29T19:25:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mike14](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/mike14/32/481612_2.png) [@mike14](https://discourse.mcneel.com/u/mike14)\
**Post date:** [April 29, 2022, 7:25pm UTC](https://discourse.mcneel.com/t/command-name-requirements/141866/1 "2022-04-29T19:25:36Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![dale](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/dale/32/772741_2.png) [@dale](https://discourse.mcneel.com/u/dale)\
**Post date:** [April 29, 2022, 9:02pm UTC](https://discourse.mcneel.com/t/command-name-requirements/141866/2 "2022-04-29T21:02:42Z")

</div>

Hi @mike14,

Here is the current logic.

[cmdTestCommandName.cpp](https://discourse.mcneel.com/uploads/short-url/tKc08QAAtQYTSlN8iqeNNbAa1px.cpp) (3.2 KB)

– Dale

---

<div class="post-metadata">

**Author:** ![mike14](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/mike14/32/481612_2.png) [@mike14](https://discourse.mcneel.com/u/mike14)\
**Post date:** [May 3, 2022, 6:16pm UTC](https://discourse.mcneel.com/t/command-name-requirements/141866/3 "2022-05-03T18:16:55Z")

</div>

Perfect! Thank you.
