Jump to content
Ahankhah

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

Recommended Posts

Ahankhah

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

Share this post


Link to post
Share on other sites
Tharwat

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

 

Tharwat

Share this post


Link to post
Share on other sites
Ahankhah

Tharwat,

your help is very great. Thank you very much.

Share this post


Link to post
Share on other sites
Tharwat
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.

Share this post


Link to post
Share on other sites
Ahankhah
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 :thumbsup:

Share this post


Link to post
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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...