Ahankhah Posted September 24, 2011 Posted September 24, 2011 Hi friends, how is it possible to explode all blocks in all spaces (layouts) without setting each tab current (I mean issuing (setvar 'Ctab ...)) Thanks in advance Quote
Tharwat Posted September 24, 2011 Posted September 24, 2011 My approach also .... it works perfect .. With ssget "_x" you can select all objects in model and in all layouts as well ..... (defun c:TesT (/ ss i) (vl-load-com) ;;;=== Tharwat 24. Sep. 2011 ===;;; (if (setq ss (ssget "_x" '((0 . "INSERT")))) (repeat (setq i (sslength ss)) (vla-explode (vlax-ename->vla-object (ssname ss (setq i (1- i))))) ) (princ) ) (princ) ) Tharwat Quote
Ahankhah Posted September 24, 2011 Author Posted September 24, 2011 Tharwat, your help is very great. Thank you very much. Quote
Tharwat Posted September 24, 2011 Posted September 24, 2011 Tharwat,your help is very great. Thank you very much. You're welcome Mehrdad . I am so happy to be of assistance with experienced guy like you . Regards. Quote
Ahankhah Posted September 24, 2011 Author Posted September 24, 2011 You're welcome Mehrdad . I am so happy to be of assistance with experienced guy like you . Regards. I study many things in CADTutor from you and other CADMasters 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.