Auto Load cuix and set ribbon without opening AutoCAD

Auto Load cuix and set ribbon without opening AutoCAD

js75CAD
Enthusiast Enthusiast
327 Views
1 Reply
Message 1 of 2

Auto Load cuix and set ribbon without opening AutoCAD

js75CAD
Enthusiast
Enthusiast

Hi all,

 

I have a tiny little add-on that I have created and some other people now want, so I made an installer package for it. What I want to do though, is pre-load the menu and turn my ribbon on. I have seen other programs like Bluebeam and XL2CAD do this, so it definitely can be done, but how?

 

All the examples I can find need AutoCAD open to do it. 

 

Does anyone have a clue how this can be done? Where do they store this data for loaded menues etc?

0 Likes
328 Views
1 Reply
Reply (1)
Message 2 of 2

norman.yuan
Mentor
Mentor

It is not possible to load anything "without opening AutoCAD". But I guess what you means is that because your plugin is automatically loaded as "auto-load" plugin package, you also want to auto-load custom ribbon menu item that is designed to run your custom commands.

 

Noticed that I used the words of "that is designed to..."? that means you need to create the custom ribbon menu item(s) by yourself. The most common way to do it, is to create a partial CUIX for your plugin, and then simply included in the plugin's auto-load package, off you go. 

 

In rare cases where the business requirements may warrants, you can dynamically generate ribbon items with code by your plugin itself, but it might be beyond your current consideration.

Norman Yuan

Drive CAD With Code

EESignature

0 Likes