Explode Dynamic Block and create a new bloc

Explode Dynamic Block and create a new bloc

colab_01
Contributor Contributor
265 Views
0 Replies
Message 1 of 1

Explode Dynamic Block and create a new bloc

colab_01
Contributor
Contributor

Hi, i need a routine *.lisp for autocad that can perform the following steps:

  1. Iterates through all INSERT entities in the drawing.
  2. Checks if each entity represents a dynamic block.
  3. If a dynamic block is found, it explodes the block while preserving attribute values.
  4. Creates a new static block using the exploded entities and attribute values.
  5. Skips entities that are not dynamic blocks.
  6. Outputs a message indicating the completion of the process.

i'm using the undynamic lisp, but when I edit the static block, it keeps all the existing objects from the dynamic block. But not visible. and i don't want that, exemple:

colab_01_2-1713975127798.png

 

Can any one help me on making this code!?

 

 

 

0 Likes
266 Views
0 Replies
Replies (0)