alanjt Posted June 29, 2010 Share Posted June 29, 2010 I'm not 100% sure, but more than likely the LAYISO command is not avaliable in AutoCAD 2002, which is why its unknown. I don't have 2002 tho, so I can't verify LayIso didn't become core until 2008. r14 - Bonus Tool 2000-2007 - Express Tool 2008-up - Core Quote Link to comment Share on other sites More sharing options...
KRBeckman Posted June 29, 2010 Share Posted June 29, 2010 gotcha, thanks for verifying for me Quote Link to comment Share on other sites More sharing options...
antistar Posted June 29, 2010 Share Posted June 29, 2010 LAYISO use in CAD2002 - Express tools. But the routine does not run. Quote Link to comment Share on other sites More sharing options...
alanjt Posted June 29, 2010 Share Posted June 29, 2010 LAYISO use in CAD2002 - Express tools.But the routine does not run. Because it will only run if LAYISO is CORE, not an Express Tool (LISP routine). Quote Link to comment Share on other sites More sharing options...
KRBeckman Posted July 8, 2010 Share Posted July 8, 2010 I have one more request for the multiple layer version one... Is it possible to add the option to type "l" for the prompt and have it select the last created entity, kinda like how "stock" AutoCAD commands work? I think my previous question was over looked, so I figured I'd try to bump it. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted July 8, 2010 Author Share Posted July 8, 2010 The Selection process is not via ssget, but an imitation of it - however, this could be achieved I think Quote Link to comment Share on other sites More sharing options...
alanjt Posted July 8, 2010 Share Posted July 8, 2010 The Selection process is not via ssget, but an imitation of it - however, this could be achieved I think Last is allowed in entsel/nentsel style selections. Quote Link to comment Share on other sites More sharing options...
jcap91163 Posted July 31, 2010 Share Posted July 31, 2010 works very nice, many thanks Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted July 31, 2010 Author Share Posted July 31, 2010 works very nice, many thanks You're very welcome JCap Quote Link to comment Share on other sites More sharing options...
ahyin Posted August 2, 2010 Share Posted August 2, 2010 very good ! I like it Quote Link to comment Share on other sites More sharing options...
Se7en Posted August 2, 2010 Share Posted August 2, 2010 The "layer isolate" function was one of those utils i always wanted to redo properly but i never got around to finishing it to my standards however, i just took a look through some of my old routines and i did find one of my "attempts" from way back when. Would you care to compare notes (Mine is fairly old but i would be willing to offer it up against your newer version)? *grin* Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted August 2, 2010 Author Share Posted August 2, 2010 I'm always open for suggestions, fire away Quote Link to comment Share on other sites More sharing options...
DVDM Posted August 4, 2010 Share Posted August 4, 2010 Nice Lee, I've always liked Layiso, and this is a very nice addition. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted August 4, 2010 Author Share Posted August 4, 2010 Nice Lee, I've always liked Layiso, and this is a very nice addition. Thanks mate, I'm glad you like it Quote Link to comment Share on other sites More sharing options...
marmo Posted August 5, 2010 Share Posted August 5, 2010 Thanks for this routne, and all other! Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted August 5, 2010 Author Share Posted August 5, 2010 Thanks for this routne, and all other! You're very welcome Marmo, I'm glad you like it Quote Link to comment Share on other sites More sharing options...
L_Ruts Posted August 10, 2010 Share Posted August 10, 2010 This posting inspired me to learn some DXF coding and work out an XREF Layiso Command. Feel free to give any comments or improvements. Thanks ;xiso ;By: L Rut ;08-10-2010 ;V1.0 (defun xsel () (setq a (nentsel)) (setq b (length a)) (if (= b 4) (progn (setq #nset (car a)) (setq #nent (entget #nset)) (setq #entset (last a)) (setq #entlength (length #entset)) (repeat (- #entlength 1) (setq #entset (cdr #entset)) ) (setq #entname (car #entset)) (setq #ent (entget #entname)) (setq #entlist (cdr (assoc 2 #ent))) (setq #enttblsrch (tblsearch "block" #entlist)) (setq #enttbl (cdr (assoc 1 #enttblsrch))) (if (/= #enttbl nil) (progn (setq #nlayer (cdr (assoc 8 #nent))) (setq #xlay #nlayer) ) (progn (princ "\nNot an XREF") (princ) ) ) ) (progn (princ "\nNot an XREF") (princ) ) ) ) (defun c:xiso (/ #obj #nset #nent #nlayer #nlaylst #nlay) (layerstate-delete "_xiso_tmp") (layerstate-save "_xiso_tmp" 255 viewportId) (setq a T) (while (/= a nil) (xsel) (setq #nlaylst (append #nlaylst (list #nlayer))) ) (command "-layer" "off" "*" "y" "") (foreach #nlay #nlaylst (command "-layer" "on" #nlay "")) (princ) ) (defun c:xuniso () (layerstate-restore "_xiso_tmp" viewportId) (command "regenall") (princ) ) 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.