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

What Is a DWG File? An Easy Guide for CAD Beginners

You have learned what CAD is and tried drawing a few lines, adding dimensions or working with layers. Now where does that drawing go when you save it? In many…

What’s New in GstarRender: AI Architectural Visualization from Concept to Video

GstarRender’s latest update gives architects and designers more ways to turn early ideas into compelling design presentations. The new GstarRender V3 model in Explore combines design elements from multiple references;…

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

What Is a DWG File? An Easy Guide for CAD Beginners

  • October 30, 2026
What Is a DWG File? An Easy Guide for CAD Beginners

What’s New in GstarRender: AI Architectural Visualization from Concept to Video

  • October 29, 2026
What’s New in GstarRender: AI Architectural Visualization from Concept to Video

GstarCAD Deep Dive: What’s New in Batch Plotting for 2027?

  • October 20, 2026
GstarCAD Deep Dive: What’s New in Batch Plotting for 2027?

Old Factory Renovation with AI Rendering: Reimagine Industrial Buildings with GstarRender

  • October 15, 2026
Old Factory Renovation with AI Rendering: Reimagine Industrial Buildings with GstarRender

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

Discover more from Gstarsoft's Blog

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

Continue reading