Jump to content

Accessing objects without going to each layout tabs one by one, it is the problem.


Recommended Posts

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

Link to comment
Share on other sites

My approach also .... it works perfect .. :D

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"))))
     (setq i (sslength ss))
      (vla-explode  (vlax-ename->vla-object (ssname ss (setq i (1- i)))))



Link to comment
Share on other sites

You're welcome Mehrdad . :)


I am so happy to be of assistance with experienced guy like you .




I study many things in CADTutor from you and other CADMasters :thumbsup:

Link to comment
Share on other sites

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.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...