This article answers common questions about the CET Command Prompt, including how to open it, execute commands, create custom commands, and troubleshoot common issues.
For more detailed instructions, see the related articles in the Command Prompt section.
Getting Started
How do I open the Command Prompt?
Press Alt + P or go to Tools → Command Prompt.
If the Command Prompt is already open, Alt + P moves focus to the input field.
Where does the Command Prompt appear?
By default, the Command Prompt appears docked at the left side of the view mode bar.
You can drag it to another location within CET.
How do I move or resize the Command Prompt?
- Drag the handle on the left side of the bar to move it.
- Right-click the handle to reset its position.
- Drag the right edge to resize the window horizontally.
CET remembers the position and size when the window is closed entirely within CET.
How do I close the Command Prompt?
Click the X button at the right end of the bar.
You can also press Esc twice when the input field has focus.
Running Commands
How do I run a command?
- Open the Command Prompt.
- Enter a command name.
- Add any required arguments.
- Press Enter.
What does it mean when my command turns red?
Red text indicates that the command name is not recognized.
Check the spelling or use autocomplete to select a valid command.
What does bold text mean?
A bold command name indicates that CET recognizes the command.
Arguments appear in normal text.
How do I find the correct arguments for a command?
When you enter a valid command, an argument tooltip appears above the Command Prompt.
For a complete reference, open the menu and select CET Command Prompt Help.
Why isn't my command working even though it isn't red?
The command name may be valid, but one or more arguments may be missing or incorrectly formatted.
Some argument errors do not produce visible feedback.
Check the argument tooltip or CET Command Prompt Help for the correct syntax.
How do I enter coordinates?
Follow the formatting required by the command.
For example, a point2D argument must include a space after the comma:
Correct: (1, 1)
Incorrect: (1,1)
Can I repeat a previous command?
Yes. Click the recent commands dropdown at the right end of the input field and select a command to populate the input field.
The Command Prompt stores the 10 most recently executed commands.
Why is my command history empty?
Command history is cleared whenever CET is restarted.
Custom Commands
What is a custom command?
A custom command combines multiple built-in CET commands or other custom commands into one reusable command.
This is useful for automating repetitive tasks and simplifying multi-step workflows.
How do I create a custom command?
- Open the Command Prompt.
- Click the menu button.
- Select Custom Command Prompt.
- Click New.
- Enter a name, description, and command definition.
- Click Save changes.
Where are custom commands saved?
Custom commands are stored in cmdalias.txt in your CET Documents folder.
How do I share custom commands with another user?
Copy cmdalias.txt from your CET Documents folder to the other user's corresponding CET Documents folder.
Can custom commands call other custom commands?
Yes. Custom commands can execute built-in commands and other custom commands.
Why isn't my custom command appearing?
Make sure you clicked Save in the Custom Command Prompt dialog.
If it still does not appear, try restarting CET.
What happens if I close the Custom Command Prompt dialog without saving?
If you close the dialog using X, unsaved changes remain in memory until CET is closed or you use Cancel.
Changes are not written to cmdalias.txt until you click Save.
How do I delete all custom commands?
Close CET, delete or rename cmdalias.txt in your CET Documents folder, and restart CET.
CET will create a new command file as needed.
Back up the file first if you want to preserve your existing commands.
Keyboard Navigation
Can I use the keyboard for everything?
Most Command Prompt functions are keyboard accessible.
Common shortcuts include:
| Shortcut | Function |
|---|---|
| Alt + P | Open or focus the Command Prompt |
| Esc | Remove focus from the input field |
| Esc twice | Close the Command Prompt |
| Up/Down Arrow | Navigate suggestions |
| Tab | Navigate suggestions |
| Enter | Select a suggestion or execute a command |
The menu button and its options must be accessed using the mouse.
How do I restore the Command Prompt if it is off-screen?
Press Alt + P to open it.
Right-click the draggable area to return it to its default docked position.
Additional Help
Where can I find a complete list of commands?
Open the Command Prompt menu and select CET Command Prompt Help.
The help page includes available commands, their arguments, and descriptions.
Comments
0 comments
Article is closed for comments.