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.

GstarCAD Blog

www.gstarcad.net

Related Posts

The Ultimate Guide to GstarCAD Mechanical 2026: The Future of Manufacturing Design

GstarCAD Mechanical 2026 drafting/design software, covers all fields of mechanical design.

GstarCAD 2026 DWG Comparison: Boost Design Efficiency

GstarCAD 2026 has introduced a new DWG Compare tool designed to eliminate the manual effort of identifying revisions between drawing versions. By using the COMPARE command, the software automatically highlights additions in red, deletions in green, and identical elements in gray using revision clouds. This feature streamlines the proofreading process for architects and engineers, allowing for instant visual verification of changes across any DWG file.

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

Gstarsoft Showcases Integrated CAD + BIM Solutions at BIM World Paris 2026

  • April 3, 2026
Gstarsoft Showcases Integrated CAD + BIM Solutions at BIM World Paris 2026

Boost CAD Productivity with GstarCAD 2026’s XTP Import Feature

  • March 24, 2026
Boost CAD Productivity with GstarCAD 2026’s XTP Import Feature

Case study: How TopenTech Optimized Equipment Diagnostics and Field Productivity with GstarCAD

  • March 9, 2026
Case study: How TopenTech Optimized Equipment Diagnostics and Field Productivity with GstarCAD

The Ultimate Guide to GstarCAD Mechanical 2026: The Future of Manufacturing Design

  • January 30, 2026
The Ultimate Guide to GstarCAD Mechanical 2026: The Future of Manufacturing Design

GstarCAD 2026 DWG Comparison: Boost Design Efficiency

  • January 16, 2026
GstarCAD 2026 DWG Comparison: Boost Design Efficiency

How to Calculate CAD Area Quickly?

  • December 25, 2025
How to Calculate CAD Area Quickly?

Discover more from Gstarsoft's Blog

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

Continue reading