What’s the meaning of a dash or hyphen “-” before the name of a command ?

Sometimes we can see a hyphen before a command name, then what’s the difference between a command with and without the hyphen?

Actually, the CAD system provides two modes in displaying prompts and options: Command Line and Dialog Boxes. The hyphen “-” issues the command line version of a command without popping up any dialog boxes.

Let’s take the following commands as examples of how dialog boxes and command line are different.

  1. Dimension Style

Enter “D” or “DIMSTYLE”, then press Enter key to pop up the “Dimension Style Manager” dialog box,

We can create, modify or compare dimension styles using the dialog box. However, as we can see, there are so many options and parameters that it would be inconvenient to pack them all into the command line,

If we put “-”  before “DIMSTYLE” to issue the command line version of it, as shown in the following picture,

We can see that the options are displayed on the command line instead of using a dialog box. And the options are quite different from those in the dialog box,

2. Xref

Some operations about Xref are more convenient using command line such as reload and bind.

To reload all xref files

Enter “-XREF”, press Enter key to issue the command line version, then enter “R (RELOAD)” and press Enter key,

Then we are prompted to input Xref to be reloaded, we can also reload all Xrefs, as shown in the following picture,

To bind all Xref files

Enter -XREF and press Enter key, then enter B (BIND) and press Enter key, we’re prompted to input Xref name to bind, or we can also bind all Xrefs.


Discover more from Gstarsoft's Blog

Subscribe to get the latest posts sent to your email.

GstarCAD Blog

www.gstarcad.net

Related Posts

GstarCAD Deep Dive: What Really Happens Inside a CAD Block?

Blocks are everywhere in CAD. A door symbol. A bolt. A valve. A title block. A machine component. At first glance, a block may look like several drawing objects simply…

GstarCAD Deep Dive: How Multiple Top-Level Windows Change Multi-Drawing Workflows

CAD work rarely happens in just one drawing. An engineer may keep a current design open while referring to an earlier revision. A mechanical designer may copy standard details from…

One thought on “What’s the meaning of a dash or hyphen “-” before the name of a command ?”

Leave a Reply

Don't Miss out

GstarCAD Deep Dive: What Really Happens Inside a CAD Block?

  • September 29, 2026
GstarCAD Deep Dive: What Really Happens Inside a CAD Block?

GstarCAD Deep Dive: How Multiple Top-Level Windows Change Multi-Drawing Workflows

  • September 23, 2026
GstarCAD Deep Dive: How Multiple Top-Level Windows Change Multi-Drawing Workflows

Gstarsoft and AppliCAD Launch GstarSolutions Thailand, Deepening Their Partnership in the Thai Market

  • September 21, 2026
Gstarsoft and AppliCAD Launch GstarSolutions Thailand, Deepening Their Partnership in the Thai Market

Modernizing Without Disruption: What European SMEs Can Learn from SNIE’s Experience

  • September 18, 2026
Modernizing Without Disruption: What European SMEs Can Learn from SNIE’s Experience

GstarCAD Mechanical 2027: Smarter Workflows, Better Compatibility

  • September 15, 2026
GstarCAD Mechanical 2027: Smarter Workflows, Better Compatibility

AI Rendering Workflow: How GstarRender Improves Design Visualization

  • September 8, 2026
AI Rendering Workflow: How GstarRender Improves Design Visualization

Discover more from Gstarsoft's Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading

Discover more from Gstarsoft's Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading