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

Join our discord community!

Connect with CAD experts, share technical insights, and get real-time support from the global community.

Join Discord Server

Share & Get a $10 Amazon Gift Card

Share your honest GstarCAD feedback and get a chance to win a $10 Amazon gift card.

Write a Review

Discover more from Gstarsoft's Blog

Subscribe to get the latest posts sent to your email.

GstarCAD Blog

www.gstarcad.net

Related Posts

Top 5 Essential GstarCAD Shortcuts for Designers

In the process of drawing and editing with GstarCAD, mastering basic functions and shortcuts can significantly reduce redundant operations while improving drawing precision and efficiency. The five features—Ctrl+3 (Tool Palettes),…

Common Methods for Inserting Images in GstarCAD

In professional CAD workflows, integrating raster images—such as site maps, reference sketches, or interior renders—is essential for visualization and project coordination. However, choosing the wrong insertion method can lead to…

Leave a Reply

Don't Miss out

Top 5 Essential GstarCAD Shortcuts for Designers

  • May 29, 2026
Top 5 Essential GstarCAD Shortcuts for Designers

Common Methods for Inserting Images in GstarCAD

  • May 22, 2026
Common Methods for Inserting Images in GstarCAD

Building the Future of Steel: How Tarkon Optimizes Structural Design with GstarCAD

  • May 7, 2026
Building the Future of Steel: How Tarkon Optimizes Structural Design with GstarCAD

GstarCAD 2026: Is It Time to Look Beyond the AutoCAD Legacy?

  • April 21, 2026
GstarCAD 2026: Is It Time to Look Beyond the AutoCAD Legacy?

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

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