Problem to merge menu tabs

Problem to merge menu tabs

EKey
Advocate Advocate
2,820 Views
15 Replies
Message 1 of 16

Problem to merge menu tabs

EKey
Advocate
Advocate

Hello,

 

 

I have a problem. I have two partial CUIX menu files (see attachment) and I want their Ribbon tabs to merge. I assigned same names "CEL TOOLS" and IDs, but is doesn't work. Could you please suggest a solution?

 

Thank you.

 

 

0 Likes
Accepted solutions (1)
2,821 Views
15 Replies
Replies (15)
Message 2 of 16

pendean
Community Legend
Community Legend
There is no merge-menu-files option in AutoCAD. You will need to create a new TAB in your current CUI, move all the shared content from all the CUIx files to there, then export or SAVEAS the resulting creation back out as a unique CUIx file.
0 Likes
Message 3 of 16

EKey
Advocate
Advocate
Hi pendean. Thank  you for the reply. I think it is quite different from my question.


Here is a quote from the AutoCAD help:


Note: You can merge any number of ribbon tabs together as long as the aliases are the same.

My ribbon tabs are in different CUIX files, but they have the same parameters as shown:


Clipboard1.png

 

I load both CUIX files and expect to see a single "CEL TOOLS" tab with merged panels, as it is described in the AutoCAD help. But I get two ribbon tabs with the same name "CEL TOOLS". What can I do to get the merged tabs?

 

Thank you.

0 Likes
Message 4 of 16

pendean
Community Legend
Community Legend
I've been customizing with CUI for a very long time, and while I'm very open to learning something new, what you describe (making two CUIx files into one CUIx file by simply loading them) is something I've never been able to achieve.

Two CUIx menus loaded at the same time presents two sets of everything here too, just like your experience so far 😞
0 Likes
Message 5 of 16

EKey
Advocate
Advocate
You mean the AutoCAD help describes the functionality which never works?
0 Likes
Message 6 of 16

pendean
Community Legend
Community Legend
Wouldn't be the first time sadly: I suspect you and I are missing 'something' yet to be defined if that ability truly exists.
0 Likes
Message 7 of 16

EKey
Advocate
Advocate

 

I didn't do to AutoCAD customizing for years and I thought it was enough time to fix all issues and make old tools finaly work as expected.
Pendean, your fresh note tells that we still have the old stuff with the old problems. It is so sad... :robotmad: :robotmad: :robotmad: 
Thank you.
Message 8 of 16

EKey
Advocate
Advocate
Accepted solution

The solution is found.

 

Tabs merge if a "template tab" with specified name and alias exists in the main customization file.

Every partial menu file should have the same alias as the template tab.

 

Hope it helps.

Message 9 of 16

Yonas89
Collaborator
Collaborator

actually does not help to me

Message 10 of 16

andkal
Collaborator
Collaborator

Hello Ekey,
Could you please post a screenshot or write a little more how to fix this issue exactly ? I'm having the same Problem. I share plugins on Autodesk App Store and each of them come with the CUIX file but after installing the Menu Tabs do not merge even if they have the same aliases.
What is a template Tab?
Xhk3c9FfaX.jpg


• www.autolisps.blogspot.com - Productivity plugins for Autocad and Autocad MEP
• Autodesk AppStore
0 Likes
Message 11 of 16

cadffm
Consultant
Consultant

Read the as solution marked reply, it is the explaination of the problem.

Sebastian

0 Likes
Message 12 of 16

cadffm
Consultant
Consultant

>"What is a template Tab?"

Nothing special. That means a main cuix tab with the same alias.

Sebastian

0 Likes
Message 13 of 16

cadffm
Consultant
Consultant

For a quick test,

edit your main cuix and add ABC_APPS as alias to one of the tabs.

Does the merge works now, with that main cuix tab?

 

Sebastian

0 Likes
Message 14 of 16

andkal
Collaborator
Collaborator

Hi, thank you for your reply
I added a new tab with an Alias ABC_APPS to my main Cuix file but after loading cuix files from prepared for the plugins the Tabs still do not merge.
Apart from that it is not clear to me how the Tabs should merge on other users computer when he downloads and installs more than 1 App from my webpage on App store and when his original Cuixfile doesn't have ABC_APPS alias.


• www.autolisps.blogspot.com - Productivity plugins for Autocad and Autocad MEP
• Autodesk AppStore
0 Likes
Message 15 of 16

cadffm
Consultant
Consultant

Hi,

first, fix the common situation (merge with main tab),

I am not sure whats going on - try restart, try another Alias - I am not in front of Autocad, can't help more this moment.

 

To make sure: You are testing manually, "by hand", the gui way?

 

 

The other question is easy:

Merge works with maincuix (or add-in/Plug-In tab) only,

so you have to use a standard tab which every install habe.

 

OR programming, your program adds a tab to the main cuix for you.

 

 

Sebastian

0 Likes
Message 16 of 16

mmooreMR7X6
Community Visitor
Community Visitor

Hi Andkal,

 

Sorry, I am not sure I can give more details. The post was published long time ago, and I cannot recall much.

 

Sincerely,

EK

0 Likes