• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Visual LISP, AutoLISP and General Customization

    Reply
    Contributor
    Posts: 12
    Registered: ‎11-28-2012
    Accepted Solution

    Customize the ribbon panel in a ribbon tab

    236 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

    Please use plain text.
    Mentor
    bgingerich
    Posts: 241
    Registered: ‎08-29-2011

    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
    Please use plain text.
    Mentor
    bgingerich
    Posts: 241
    Registered: ‎08-29-2011

    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
    Please use plain text.
    Mentor
    bgingerich
    Posts: 241
    Registered: ‎08-29-2011

    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
    Please use plain text.
    Contributor
    Posts: 12
    Registered: ‎11-28-2012

    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!"))

    )

     

    Please use plain text.