Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Active Contributor
idragonb
Posts: 38
Registered: ‎11-28-2012
Message 1 of 5 (1,544 Views)
Accepted Solution

Customize the ribbon panel in a ribbon tab

1544 Views, 4 Replies
11-28-2012 03:34 PM

I am trying to customize Autocad 2012 ribbon tab. I can't seem to find how to mimic the small arrow that appears in several of the standard menus. For example, in the 3D Solids - Home Tab, the second panel from the left is "3D Solids Home - Mesh" It has a small arrow in the corner that opens up a preferences dialogue box.

 

How can I add that arrow to a custom panel with that little arrow so that I can add my command to it?

 

Thank you.

 

Michael

Flow state:
Maximum challenge with maximum skills.

Well, just comparing two different panels I found that in the ones that have the extra dialog box have a "key tip" and a "element_id" under the "panel dialog box launcher".  Not sure how to add/customize those though... I'll get back with you.

 

(if ("mysolution"=answer) then (click "Accept As Solution"))
------------------------------------------------------------------------------------

OK.  Never knew you could do this before!  Make a command in the cui to launch the dialog box/command you want.  Then simply drag and drop the command into the "Panel Dialog Box Launcher" and you're all set.  HTH

 

(if ("mysolution"=answer) then (click "Accept As Solution"))
------------------------------------------------------------------------------------

Valued Mentor
bgingerich
Posts: 276
Registered: ‎08-29-2011
Message 2 of 5 (1,522 Views)

Re: Customize the ribbon panel in a ribbon tab

11-29-2012 05:38 AM in reply to: idragonb

Well, just comparing two different panels I found that in the ones that have the extra dialog box have a "key tip" and a "element_id" under the "panel dialog box launcher".  Not sure how to add/customize those though... I'll get back with you.

 

(if ("mysolution"=answer) then (click "Accept As Solution"))
------------------------------------------------------------------------------------

─────────────────────────────────────────────────────────────────────────────────────────────
Brandon Gingerich
Valued Mentor
bgingerich
Posts: 276
Registered: ‎08-29-2011
Message 3 of 5 (1,519 Views)

Re: Customize the ribbon panel in a ribbon tab

11-29-2012 05:55 AM in reply to: idragonb

OK.  Never knew you could do this before!  Make a command in the cui to launch the dialog box/command you want.  Then simply drag and drop the command into the "Panel Dialog Box Launcher" and you're all set.  HTH

 

(if ("mysolution"=answer) then (click "Accept As Solution"))
------------------------------------------------------------------------------------

─────────────────────────────────────────────────────────────────────────────────────────────
Brandon Gingerich
Valued Mentor
bgingerich
Posts: 276
Registered: ‎08-29-2011
Message 4 of 5 (1,515 Views)

Re: Customize the ribbon panel in a ribbon tab

11-29-2012 06:37 AM in reply to: idragonb

A page from 2012 documentation for other info.  click

 

(if ("mysolution"=answer) then (click "Accept As Solution"))
------------------------------------------------------------------------------------

─────────────────────────────────────────────────────────────────────────────────────────────
Brandon Gingerich
Active Contributor
idragonb
Posts: 38
Registered: ‎11-28-2012
Message 5 of 5 (1,493 Views)

Re: Customize the ribbon panel in a ribbon tab

11-30-2012 02:20 AM in reply to: bgingerich

Hey bgingerich - awesome - first time that I asked a question - it sure saves headache - I'm addicted. I propose to answer 2 questions for every one that I ask. This is a good thing!!

 

(cond

   ((and (feedback = "good") (feedback = "quick") (feedback /= "difficult")) "give back")

   ( T ("/nThanks for the quick response!"))

)

 

Flow state:
Maximum challenge with maximum skills.
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.