Jump to content

Explode nested blocks only


Cazza

Recommended Posts

Do anyone in this Forum can recommend me a great book to learn how to create my own Visual lisp Routines? I have seen a lot of books on the internet and Amazon but I would like to get a good one from any of you that already knows the programming language. I have a low-level skill as a programmer but I have read a lot and I understand a lot of things now.

 

Thank you in advance.

 

Link to comment
Share on other sites

  • 2 months later...
On 20/07/2016 at 17:32, MURAl_KMD said:

hi Lee Mac

Thanks to you for all codes , which helps me a lot

 

 

(repeat (setq idx (sslength sel))

(LM:burstnested (vlax-ename->vla-object (ssname sel (setq idx (1- idx)))))

)

 

The above code modified in NestedBurstV1-0.lsp of Lee Mac

 

(repeat (setq idx (sslength sel))

(LM:ApplytoBlockObjects

(vla-get-blocks (vla-get-activedocument (vlax-get-acad-object)))

(vla-get-effectivename (vlax-ename->vla-object (ssname sel (setq idx (1- idx)))))

'LM:burstnested

)

)

 

 

This works for me so far ,

 

Hi, Sorry for digging up this old thread. Currently in need to burst attribute blocks or nested attributes blocks to a normal block with all field input intact. is there a way to do this?  

Link to comment
Share on other sites

  • 10 months later...

If it isnt a big problem i would someone to modify the lisp so it can explode nusted mtexts to texts without exploding the primary block.

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.

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