The Command Prompt is designed to make working in CET more efficient, but you may occasionally encounter issues with command execution, custom commands, or the Command Prompt window.
This article covers common issues and their solutions.
Commands and Execution
My command isn't running.
There are several reasons a command may not execute:
- The command name is misspelled or invalid.
- Required arguments are missing.
- Arguments are entered in an incorrect format.
- The command requires specific values or formatting.
What to do:
- Check the command name for spelling errors.
- Use autocomplete to select a valid command.
- Review the argument tooltip for the expected format.
- Refer to CET Command Prompt Help for the command's arguments and description.
If the command name is invalid, the input text appears red.
My command is valid, but nothing happens when I press Enter.
Some argument formatting errors do not produce visible warnings.
For example, a point2D argument must include a space after the comma.
Correct:
(1, 1)
Incorrect:
(1,1)
If the command does not execute and no error appears, check the formatting of each argument.
I can't find the command I need.
Use the autocomplete suggestions to discover available commands.
For a complete list, open the Command Prompt menu and select CET Command Prompt Help.
The help page contains a table of available commands, their arguments, and descriptions.
Custom Commands
My custom command isn't appearing in the Command Prompt.
Check that you saved your changes.
Custom commands are not written to cmdalias.txt or made available in the main Command Prompt until you click Save in the Custom Command Prompt dialog.
What to do:
- Open the Custom Command Prompt dialog.
- Confirm that the command appears in the grid.
- Click Save changes.
- Return to the main Command Prompt and try entering the command again.
If the command still does not appear, try restarting CET.
My custom command isn't working.
A custom command may fail if its definition contains incorrect command names, arguments, or formatting.
What to do:
- Open the Custom Command Prompt dialog.
- Select the custom command.
- Review the command definition.
- Check the syntax and arguments of the commands it uses.
- Save your changes and test the command again.
If your custom command calls other custom commands, check those definitions as well.
I accidentally closed the Custom Command Prompt without saving.
Closing the dialog with X does not immediately discard unsaved changes. You can reopen the dialog during the same CET session to continue editing.
However, unsaved changes are lost when CET is closed.
If you want to discard unsaved changes, use Cancel in the dialog.
How do I reset all custom commands?
Custom commands are stored in cmdalias.txt in your CET Documents folder.
To reset the custom commands:
- Close CET.
- Locate
cmdalias.txt. - Delete or rename the file.
- Restart CET.
CET will create a new command file as needed.
Important: Back up the file before deleting it if you want to preserve your existing custom commands.
Command History
My recent commands have disappeared.
The Command Prompt only stores the 10 most recently executed commands.
Command history is cleared when CET is restarted.
This is expected behavior. Commands will be added to the history again as you execute them.
Command Prompt Window
I can't find the Command Prompt window.
Press Alt + P to open the Command Prompt.
My Command Prompt position or size wasn't remembered.
CET remembers the Command Prompt's position and size only when the window is closed entirely within the CET workspace.
If any part of the window is outside the CET main window when it is closed, its previous position and size will not be saved.
What to do:
- Open the Command Prompt.
- Move it fully inside the CET workspace.
- Resize it as needed.
- Close the window.
The updated position and size should now be remembered.
The Command Prompt disappeared when I opened another dialog.
The Command Prompt may automatically hide when another dialog or window appears that conflicts with its display.
Press Alt + P to reopen it or bring it back into focus.
Keyboard and Navigation Limitations
Can I access every feature using the keyboard?
Most Command Prompt functions support keyboard navigation.
You can:
- Open or focus the Command Prompt using Alt + P.
- Enter and execute commands.
- Navigate autocomplete suggestions using the arrow keys and Tab.
- Select suggestions using Enter.
- Remove focus or close the window using Esc.
However, the menu button and its options must be accessed using the mouse.
Tips for Effective Use
- Use autocomplete to find commands and reduce typing errors.
- Review argument tooltips before executing unfamiliar commands.
- Follow the required formatting for coordinates and other arguments.
- Use command history to repeat recent operations.
- Create custom commands for repetitive workflows.
- Save custom command changes regularly.
- Back up
cmdalias.txtbefore sharing or resetting your custom commands.
Getting Help and Suggesting New Commands
If you encounter a persistent issue or have an idea for a new command, contact CET support.
When reporting an issue, include:
- The command you were attempting to execute.
- The arguments you entered.
- What you expected to happen.
- What actually happened.
For custom command issues, include the command definition if possible.
For a complete reference of available commands, open CET Command Prompt Help from the Command Prompt menu.
Comments
0 comments
Article is closed for comments.