Jump to content

Recommended Posts

Posted

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

Posted

Try This

 

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

Posted

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

Posted

@ ColinHolloway

 

Can u Please Attach Your Cuix File ?

  • 11 months later...
Posted

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

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...