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

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

A DXF file is a CAD drawing file used to exchange design information between software applications. DXF stands for Drawing Exchange Format. Autodesk introduced it so drawings could move between AutoCAD…

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…

Leave a Reply

Don't Miss out

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

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?

Discover more from Gstarsoft's Blog

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

Continue reading