Jump to content

call dynamic blocks from another file by autolisp


Recommended Posts

Posted

Hi guys, i am working in autolisp and i need to instantiate dynamic blocks that are in file "BLOQUES DINAMICOS 1.dwg" and put them in new file "prueba.dwg", i have to do this with autolisp in visual LISP.

 

DynamicBlocks.JPG.1f9a4eded6ad684198b8baff33fde771.JPG

 

There are some dynamic blocks (figures with blue color) in image, for example, the name of the second figure is "DIM.conexion mt y bt", i would like to put this in "prueba.dwg". I thank the person who can help me.

Posted (edited)

If you make a library of all your most used blocks its simple you can just insert that dwg/block straight in and update the dynamic attributes. Use wblock to pull the block out of the other dwg and save add to a block library area. You can use Tool Palette as well but its not something I have not used others will advise.

 

It is possible to export out all your as individual dwgs from a dwg. Just google.

 

The other way is to use lee-mac Steal.lsp you can drive this from a lisp program supplying dwg name and block name.

Edited by BIGAL
  • Like 1

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