Begde Posted January 26, 2013 Share Posted January 26, 2013 Hi everyone, can you help me to make a lisp routine as a menu in autocad. Quote Link to comment Share on other sites More sharing options...
BIGAL Posted January 26, 2013 Share Posted January 26, 2013 Heres an example menu just use Menuload to load it, its a text file .mnu It has also secondary menu's within a menu. The -> is open group ***MENUGROUP=CADTUTOR ***POP15 **CADLIB [->LISP1 A-B] [Add 2 Level]^C^C(LOAD "add-to-levels") [Add-pits-drain]^C^C(LOAD "Add-pits-drain") [Allbylayer]^C^C(LOAD "Allbylayer") [ [->LISP2 C-D] [->CARPARKS] [No carparks]^C^C(load "how many carparks") carpark [ [Chain-Off]^C^C^p(LOAD "CHAIN-OFF") [ Quote Link to comment Share on other sites More sharing options...
Begde Posted January 27, 2013 Author Share Posted January 27, 2013 Dear BIGAL, I tried to manage a menu as you describe and I have three problems: - I have to load the menu file each time I start autocad - The LISP files are not functioning and an error massage of unknown command appears each time I type the shortcut command -How can I have this menu loaded in autocad annotation and draft screen. I am using autocad 2012 the code is: ***MENUGROUP=HEATING LOOP ***POP1 [Heating Circuits Drawing] [uNDERFLOOR HEATING]^C^C(LOAD "Underfloor heating-2")^C^CHEATGRID [FILLET PL]^C^C(LOAD "fillet polyline")^C^CFR Quote Link to comment Share on other sites More sharing options...
BIGAL Posted January 27, 2013 Share Posted January 27, 2013 2 things both the same you need your lisps directory path to be included in the acad support search directory list same with your menu's. eg ours are server\autodesk\supportfiles Config files support Quote Link to comment Share on other sites More sharing options...
MSasu Posted January 28, 2013 Share Posted January 28, 2013 You may also want to check this previous thread on how to display the menu items. Quote Link to comment Share on other sites More sharing options...
Begde Posted January 28, 2013 Author Share Posted January 28, 2013 thanks! it will help 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.