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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×