sharpooth Posted January 24, 2011 Posted January 24, 2011 Hello to all, can you help me with pulldownmenus? I am makeing pop menu, inserting in menu bar, but can not save the menu. (setq currmenu (vla-item (vla-get-menugroups (vlax-get-acad-object)) "My-menu" ) ) (vla-save currmenu acMenuFileCompiled) (vla-save currmenu acMenuFileSource) in row (vla-save currmenu acMenuFileCompiled) I am receiving nil? Where is the problem? Quote
Lee Mac Posted January 24, 2011 Posted January 24, 2011 I found this after a quick look in the Dev help: object.Save MenuFileType Object MenuGroup The object this method applies to. Note This method has no effect for menu groups. Quote
sharpooth Posted January 25, 2011 Author Posted January 25, 2011 Thank you Lee Mac, Where is my eyes?! So in this case: 1. If you access menugroups via Vlisp every time the routine must build menu , submenus, toolbars, icons, and so on. 2. There is no options to save already builded menu in *.cui file. Quote
Lee Mac Posted January 25, 2011 Posted January 25, 2011 I'm afraid I don't have much experience in this area of customisation... hopefully someone with more knowledge can stop by Quote
sharpooth Posted January 26, 2011 Author Posted January 26, 2011 Hi Lee, for one week work of menus my conclusions are: 1. in *mnu file (older than *.cui) in sections ***POP - CAN NOT assign bmps or icnons for each command (row). 2. in *mnu file (older than *.cui) in sections ***TOOLBARS - CAN assign bmps or icnons for each command (row) - because it is button . The best way it to do -> use cui editor from autocad after that with cuitomnu.vlx to convert of *.mnu (if need) Quote
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.