Loaded custom .cuix but menu wont show up

Loaded custom .cuix but menu wont show up

Anonymous
Not applicable
3,262 Views
9 Replies
Message 1 of 10

Loaded custom .cuix but menu wont show up

Anonymous
Not applicable

So I am curious if anyone can help with this... here are the steps I took and what is happening.

1.   I created a new blank custom cui file and added everything I want to load onto everyone's computers which included custom commands that call to lisps and a drop menu to see those new commands.

2.   I saved those new .mnr and cuix files to a folder on the network which is in everyone's support files and trusted files.

3.   I then added the code (command "cuiload" "Z:\\Engineering\\CAD Standards\\LISP\\Customs.cuix") to my adac.lsp file on the network to load it on all the computers. 

Problem: 

A.   After that I go to autocad and type "cuiload" and it looks like it loaded but nothing has actually loaded so it seems. I have no menu and i have no little image next to the lisp command when typed out on the cad screen.

B.   So then I restart autocad and the little image is next to the command but I still am missing the menu.

4.   After all that I double checked to make sure the menu was still ther so I opened the cui manager and sure enough its all ther. 

I have attach a zipped file with the file I am trying to load. I may have done something wrong creating or saving it???? 

 

 

Any help getting this loaded correctly would be much appreciated, thank you all.

 

 

 

0 Likes
3,263 Views
9 Replies
Replies (9)
Message 2 of 10

Moshe-A
Mentor
Mentor

@Anonymous  hi,

 

>> read this <<

 

moshe

 

0 Likes
Message 3 of 10

Anonymous
Not applicable

Unfortunately this not what I am needing, I tried and tested it out. 

when I change the system variable menubar to 1 I still don't get the menu showing up from my cuix file I need.

Has no one had this issue...?

Is says it is a loaded cui file in the load and unload customizations and says successfully loaded when the list is ran  but wont show the menu and I even have access to the commands I created but no menu. 

I cannot load the computers with this manually and some users are not fully ready for customizing things this way so I need to be able to push it out through an acad.lsp file and be able to update things as required. 

 

 

PLEASE HELP

 

THANK YOU

0 Likes
Message 4 of 10

Sea-Haven
Mentor
Mentor

You can get each users id so you could check that say menuversion1-1 is loaded etc rather than loading it continuously.

 

We had the cuix on a server not local a new cuix just meant next time they started autocad all new menu options appear, I would make changes menuload next time was all ready to go.

 

I have had complete screw up of all menus when did something wrong with a mnu. Make a ARG as a backup may help.

0 Likes
Message 5 of 10

martti.halminen
Collaborator
Collaborator

We are doing this a little differently: instead of calling CUILOAD at runtime, we have defined the company AutoCAD profile with the CUI definitions in place, and start with that.

 

One possible problem is that you don't mention what you are doing regarding workspaces. The visibility of menus etc. is defined by the current workspace, see the Customize Workspace  -button in the CUI dialog.

- In our installation, when setting up the AutoCAD for each user, we are also installing for each user the initial main customization file, with the workspace set up correctly. (otherwise empty, the common stuff is in the enterprise customization file, including all the AutoCAD native definitions as partial customization files for that.)

 

-- 

Message 6 of 10

Anonymous
Not applicable

Okay, 

Thanks for that.

Well I think I am just going to add my programs to one of the existing ribbon tabs to avoid the complication and confusion. 

I'm pretty new at the lisp and customization thing so understanding how everything works is taking some time. 

Also think it looks better on a ribbon than a menu any way. 

 

Thanks for all the help everyone!!

0 Likes
Message 7 of 10

Sea-Haven
Mentor
Mentor

I agree about setting a workspace for each user its just a case of add, each user had their preference of toolbars etc 

 

We ran CIV3d so we actually saved the Drafting workspace as a user work space, we had a custom pull down menu that had most of the straight forward CIV3D commands that we would use, so you can mix and match work spaces. Just open the cui editor and copy and paste the correct commands to a new custom menu.

0 Likes
Message 8 of 10

Anonymous
Not applicable

Yeah I have about 50 custom lisp commands and some programs. I put them in a custom drop menu but then when it loads via acad.lsp unfortunatly the .cuix file loads but the menu doesn't show up, so I just added everything to a custom ribbon. 

Now my challenge is to have to lisp check and test to see if that .cuix file is already loaded then load it. 

Do you have any idea of an efficient way to do this?

How do I return a list the loaded customization files?

I've attached the updated files if you want to peak at them.

0 Likes
Message 9 of 10

Sea-Haven
Mentor
Mentor

I have about 5 custom menu's and toolbars loaded. Sometimes more. 

 

Just use menuload, they should load, then go to workspace and add a space say your name. 

 

If you change the menu's just use menuload and unload then load the mnu again. But save the workspace again. I have the autosave turned off its to easy with it on to screw things really up.

 

I was rewriting a menu and reloaded like 6 times in one session. NO problems.

0 Likes
Message 10 of 10

Anonymous
Not applicable

Okay thanks, that makes sense!

0 Likes