leonucadomi Posted January 9, 2023 Posted January 9, 2023 hi: I use autocad 2013 explode command doesn't work with selection window from lsp. just using the icon. Does anyone know why and how to fix it? thanks Quote
mhupp Posted January 9, 2023 Posted January 9, 2023 locked layers? nested blocks? ssget might filter out what your trying to explode. kinda hard to tell with out any code. Quote
marko_ribar Posted January 9, 2023 Posted January 9, 2023 (edited) 2 ways : (setvar 'qaflags 1) (vl-cmdf "_.explode" ss) (setvar 'qaflags 0) But working with QAFLAGS is little risky - if not reset to 0, CAD behaves strange... (initcommandversion) (vl-cmdf "_.explode" ss) But this is somewhat not always good if (initcommandversion) function not available... Edited January 9, 2023 by marko_ribar 1 Quote
leonucadomi Posted January 9, 2023 Author Posted January 9, 2023 I just have it here in the file pgp.... I use the letter ñ It runs but it doesn't let me select in the window If I click on the icon, it allows selecting in the window Quote
Steven P Posted January 9, 2023 Posted January 9, 2023 I'm with MHUPP here, tricky to work out the problem if we can't see the problem. Assuming it is a LISP rather than a shortcut key, somewhere will be a file containing the LISP... if you can find that then maybe - I know it is tricky - but maybe you could share the LISP and that will give us an idea. I guess this is a new thing and that before the LISP was working OK? Another thing you could do is search the internet, there are lots of explode LISPs out there, for example: Find one that works for you and replace what you are using now ;;https://www.cadtutor.net/forum/topic/17919-explode-in-autolisp/ (if (setq i -1 ss (ssget)) (while (setq ent (ssname ss (setq i (1+ i)))) (and (vlax-method-applicable-p (setq obj (vlax-ename->vla-object ent)) 'Explode) (vla-explode obj) (entdel ent))) ) ) ;;OR ;;https://forums.autodesk.com/t5/autocad-forum/explode-lisp/td-p/1181092 (setq ss (ssget)) (setq cnt 0) (repeat (sslength ss) (command ".explode" (ssname ss cnt)) (setq cnt (1+ cnt)) ) 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.