How to programatically add a button into AutoCAD 2018 Ribbon without user interv

How to programatically add a button into AutoCAD 2018 Ribbon without user interv

eunice.chagoya
Enthusiast Enthusiast
715 Views
2 Replies
Message 1 of 3

How to programatically add a button into AutoCAD 2018 Ribbon without user interv

eunice.chagoya
Enthusiast
Enthusiast

Me and my development team are looking forward to to programatically add a button into AutoCAD 2018 Ribbon without user intervention.

He have the .dll and command loaded already on AutoCAD, but we want to make this available on the ribbon sections.

We are using an Action Macro to help us achieve this, but seems this might not be the solution.

We have tried  to record the steps to add a new button to the ribbon so new users not having this button enabled will obtain this macro to add the button by running the marco. However, Action Macro is not really recording those steps. 

Any idea or option that I can use.

 

0 Likes
716 Views
2 Replies
Replies (2)
Message 2 of 3

dgorsman
Consultant
Consultant

You would have to use managed dotNET rather than LISP to do that.  However such methods don't respect workspaces; speaking as a user, one of my major annoyances with plug-ins is lack of control (position, show/hide, etc.) with automatically created Ribbon or pallette content.  So I usually recommend using a partial CUIx file instead, or at least including workspace control in the plug-in. 

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
"I don't know" is the beginning of knowledge, not the end.


Message 3 of 3

eunice.chagoya
Enthusiast
Enthusiast

Good day dgordsman. Thanks for your reply. Can I contact you in private for more details please.

I currently have a support case with the support elite group running for some days now, with no further solution. We really need light on this. Thank you.

0 Likes