Ahankhah Posted September 24, 2011 Share 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 Link to comment Share on other sites More sharing options...
Tharwat Posted September 24, 2011 Share 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 Link to comment Share on other sites More sharing options...
Ahankhah Posted September 24, 2011 Author Share Posted September 24, 2011 Tharwat, your help is very great. Thank you very much. Quote Link to comment Share on other sites More sharing options...
Tharwat Posted September 24, 2011 Share 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 Link to comment Share on other sites More sharing options...
Ahankhah Posted September 24, 2011 Author Share 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 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.