MarcoW Posted May 3, 2009 Share Posted May 3, 2009 Hi, I feel like ... I made several (5) menu's, they are all working correctly. With menuload, then browse and then load they are made active in Acad. All working nice and when shutting down / restart Acad it's all good. Now I thought let's put 'm, together. And again it works all nice, just need to load 1 menu instead of 5. Easy... The only problem is when shutting down / restarting Acad: I need to load my custom menu manually. I mean, when given the command menubar my custom menu is visible in the list. I just have to unload and then browse an load it again. As if during the startup tha custom menu is not fully relaoded... Ayone got an answer where to adjust this? Tnx for the help. add 12.22 pm: I lost the expreee menu now, it is normally loaded when loading acad.cui but now it don't work again. Hmmff... seem to be a bad sunday.. Where to find the express mene? Quote Link to comment Share on other sites More sharing options...
lpseifert Posted May 3, 2009 Share Posted May 3, 2009 If you're referring to the pulldown menus loading on startup, there is a limit of 24 (maybe 25), although you can manually load more. Quote Link to comment Share on other sites More sharing options...
alanjt Posted May 3, 2009 Share Posted May 3, 2009 this is a snippet of what i have in the acaddoc.lsp at work to load our custom menus. (if (and (not (menugroup "CES-Custom")) (findfile "S:\\CADD Standards\\CES Custom CUI\\CES-Custom.cui") );and (command "_.menuload" "S:\\CADD Standards\\CES Custom CUI\\CES-Custom.cui") );if (and (menugroup "CES-Custom") (menucmd "p30=+CES-Custom.POP1") );and Quote Link to comment Share on other sites More sharing options...
MarcoW Posted May 3, 2009 Author Share Posted May 3, 2009 I found the Expresstools menu under: C:\Documents and Settings\User\Application Data\Autodesk\AutoCAD 2007\R17.0\enu\Support\acetmain.cui Just to share. @Alanjt: My menu's are ".mnu" files, lets say "test.mnu". Would this be the code for me then? (if (and (not (menugroup "test")) (findfile "c:test.cui") );and (command "_.menuload" "c:test.cui") );if (and (menugroup "test") (menucmd "p30=+test.POP1") );and It looks like a part of something bigger... how would the code be when only used for my question? Quote Link to comment Share on other sites More sharing options...
asos2000 Posted September 27, 2010 Share Posted September 27, 2010 Its working fine but the puldown menu not appeare what usage for this code (menucmd "p30=+CES-Custom.POP1") Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.