asos2000 Posted October 29, 2012 Share Posted October 29, 2012 Lee created a lisp to create layers. I saw it but didn't remember where is it. ;; LAYER NAME LINE TYPE LAYER COLOR ..................... ;; Can some one help me to find this lisp? Quote Link to comment Share on other sites More sharing options...
nod684 Posted October 29, 2012 Share Posted October 29, 2012 Lee created a lisp to create layers. I saw it but didn't remember where is it.;; LAYER NAME LINE TYPE LAYER COLOR ..................... ;; Can some one help me to find this lisp? no idea bout Lee's code but here's what i use : (defun C:MNL (/ cmd1 Lname col lyt) (setq cmd1 (getvar 'cmdecho)) (setvar 'cmdecho 0) (setq LNAME (getstring T "\nEnter New Layer Name?")) (setq col (getstring "\nEnter New Layer Color <7>... ")) (setq lyt (getstring "\nEnter New Layer Linetype <CONTINUOUS>... ")) (if (= col "") (command "layer" "m" LNAME "c" col "lt" lyt "" "") (command "layer" "m" LNAME "c" col "" "lt" lyt "" "") ) (princ) (setvar 'cmdecho cmd1) ) Quote Link to comment Share on other sites More sharing options...
MSasu Posted October 29, 2012 Share Posted October 29, 2012 For the ENTMAKE alternative please check post #9 from this previous thread. Quote Link to comment Share on other sites More sharing options...
Dadgad Posted October 29, 2012 Share Posted October 29, 2012 http://www.lee-mac.com/programs.html#general Thanks Lee! Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted October 29, 2012 Share Posted October 29, 2012 http://www.cadtutor.net/forum/showthread.php?65302-Create-layers-with-LISP&p=447101&viewfull=1#post447101 http://www.cadtutor.net/forum/showthread.php?37583-Layer-Lisp&p=355060&viewfull=1#post355060 http://www.cadtutor.net/forum/showthread.php?56223-Lisp-Make-Layers.-Lineweight-0.0-instead-of-quot-Default-quot&p=386320&viewfull=1#post386320 Quote Link to comment Share on other sites More sharing options...
asos2000 Posted October 29, 2012 Author Share Posted October 29, 2012 LEE 10/10 specially first link Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted October 29, 2012 Share Posted October 29, 2012 LEE 10/10 specially first link Thanks, glad it helps 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.