Jump to content
ColinHolloway

Display the Ribbon Tab of a loaded menu file.

Recommended Posts

ColinHolloway

Hi All,

 

I have created a menu file that contains a ribbon tab. I can load the menu and make sure the pull down and toolbars are visible, but I can't find a way using LISP to make the new ribbon tab visible. I know that I can go to the CUI manager, edit the workspace, tick the ribbon tab and save the workspace, but I need to do all this via lisp on startup.

 

Any and all help greatly appreciated.

 

Colin Holloway

Share this post


Link to post
Share on other sites
gS7

Try This

 

(command "MENULOAD" [color="blue"]"your Cuix File Path"[/color])
(menucmd "P20=+[color="blue"]Menugroupname[/color].POP1")
(menucmd "P20=*")
(COMMAND "WSCURRENT" "")

Share this post


Link to post
Share on other sites
ColinHolloway

Hi gS7,

 

I am already using these commands to display the Pull Down menu, but I need a way to display the new Tab on the Ribbon menu.

 

Colin Holloway

Share this post


Link to post
Share on other sites
gS7

@ ColinHolloway

 

Can u Please Attach Your Cuix File ?

Share this post


Link to post
Share on other sites
ColinHolloway

Hi All,

I did end up finding a Lisp command that allowed me to do this! It's not very well documented, but providing the menu is loaded, the +ribbon command does the job.

 

+ribbon .

 

The element.id is from the required ribbon tab as given in the CUI.

 

Hope this helps someone else looking for this solution.

 

Colin Holloway

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...