How to define commands in CUI?

Enter CUI, press Enter key to open the Customize User Interface dialog box, right-click on a random command from Command List, and select New command,

How to define new commands in CUI

You can also click the “Create a new command” button, shown as below,

How to define commands in CUI?

Then change the name in Properties tab, and tell the command what to do by customizing the macro. Enter the following in the macro box, shown as below,

“^C^C(setvar “cecolor” “ByLayer”) (setvar “celweight”-1) (setvar “celtype” “ByLayer”)”

How to define new commands in CUI

We can set small image and large image for the command,

How to define new commands in CUI

There are other settings that you can customize such as tags. After completing your settings, click Apply to add the command to command list, then we can find this new command in the Command List and we could also add it to command panel, tool bar or menu,

How to define new commands in CUI

Discover more from Gstarsoft's Blog

Subscribe to get the latest posts sent to your email.

GstarCAD Blog

www.gstarcad.net

Related Posts

GstarCAD 2027 Deep Dive: How to Copy a CAD Drawing into Word

When a floor plan is ready for review, the conversation often moves beyond CAD. Clients want to see it in a proposal; project managers need it alongside notes and decisions…

How to Fix Missing Xrefs in a DWG File

You open a DWG and the drawing looks strangely empty. The floor plan is there, but the structural grid is gone. Or the title block remains while an entire referenced…

Leave a Reply

Don't Miss out

GstarCAD 2027 Deep Dive: How to Copy a CAD Drawing into Word

  • November 25, 2026
GstarCAD 2027 Deep Dive: How to Copy a CAD Drawing into Word

How to Fix Missing Xrefs in a DWG File

  • November 19, 2026
How to Fix Missing Xrefs in a DWG File

Why Is My DWG File So Large and How to Reduce It Safely

  • November 11, 2026
Why Is My DWG File So Large and How to Reduce It Safely

What Is a DXF File? A Practical Guide to CAD Exchange

  • November 4, 2026
What Is a DXF File? A Practical Guide to CAD Exchange

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

Discover more from Gstarsoft's Blog

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

Continue reading