CUIX not loading companion MNL at AutoCAD start

CUIX not loading companion MNL at AutoCAD start

capuano3d
Enthusiast Enthusiast
453 Views
6 Replies
Message 1 of 7

CUIX not loading companion MNL at AutoCAD start

capuano3d
Enthusiast
Enthusiast

Hello everyone

 

I'm struggling with some AutoCAD menu loading behaviour.

 

I have several bespoke CUIXs and respective MNL files.

 

Now I find that with some of the CUIXs, the companion MNL loads at AutoCAD start (no dwg being present at this moment), and with some other CUIXs the MNL loads only when the first drawing in the session is open. This aparently random behaviour impacts my application.

 

What puzzels me is that the CUIX/MNL pairs content are exactly the same, just the internal group name being different.

 

So, for some group names the MNL will fire up at AutoCAD start, for some other it won't ...

 

Does anyone have come accross that/have any explanation for that?

 

Thanks in advance

 

Alan

 

 

 

 

0 Likes
454 Views
6 Replies
Replies (6)
Message 2 of 7

Moshe-A
Mentor
Mentor

@capuano3d hi,

 


@capuano3d wrote:

Hello everyone

 

I'm struggling with some AutoCAD menu loading behaviour.

 

I have several bespoke CUIXs and respective MNL files.

 

Now I find that with some of the CUIXs, the companion MNL loads at AutoCAD start (no dwg being present at this moment),

just curious if no document was open, how do you know the mnl is loaded? or you mean AutoCAD did open it's drawing session (e.g drawing1.dwg) but yours still not?

 

and with some other CUIXs the MNL loads only when the first drawing in the session is open. This aparently random behaviour impacts my application.

 

What puzzels me is that the CUIX/MNL pairs content are exactly the same, just the internal group name being different.

 

So, for some group names the MNL will fire up at AutoCAD start, for some other it won't ...

 

Does anyone have come accross that/have any explanation for that?

 

Thanks in advance

 

Alan

 


The program automatically loads MNL files with the same name and location as your main, enterprise, or partial customization (CUIx) files

 

the above is from the documentation, says nothing about the group name only pair names is require and need to lay in the same folder.

 

Moshe

 

0 Likes
Message 3 of 7

capuano3d
Enthusiast
Enthusiast

Hi

 

Thanks, I am aware that CUI/MNL must have the same name, the question was about the very moment the MNL is actually loaded (ACAD startup specificallly), and inconsistency in that behaviour.

 

Thanks 

 

 

 

0 Likes
Message 4 of 7

Moshe-A
Mentor
Mentor

@capuano3d,

 

I suggest you isolate the problem by starting with one cuix/mnl pair. open and close AutoCAD several times and see if there is a problem? if not, add the second pair...

 

Moshe

0 Likes
Message 5 of 7

dmfrazier
Advisor
Advisor

"What puzzles me is that the CUIX/MNL pairs content are exactly the same, just the internal group name being different.

So, for some group names the MNL will fire up at AutoCAD start, for some other it won't ..."

 

Please explain or illustrate what you mean by "internal group name."

0 Likes
Message 6 of 7

capuano3d
Enthusiast
Enthusiast

Sure, this name that appears here:

 

capuano3d_0-1677531560427.png

 

In my scenario:

The MNL is loading normally at AutoCAD start.

If I change the highlighted name, the MNL won't load anymore at the AutoCAD start, only when a dwg is started/open.

 

The behaviour above happens across multiple environments, AutoCAD versions and machines.

 

I tried to unzip the cuix, because I thought the older group name would be somewhere in it, preventing somehow for the CUIX with the new name to start at AutoCAD load, but it wasn't.

 

Thanks for your help

 

 

 

0 Likes
Message 7 of 7

dmfrazier
Advisor
Advisor

That name (you show circled) is normally based on (matches) the name of the CUIX file.

In the CUI dialog, when you expand the Properties pane to the right, what appear as the "Name" and "Display Name" properties?

 

dmfrazier_0-1677532567495.png

(BTW, this is just information gathering. I don't know if this will lead to a solution.)

0 Likes