Message 1 of 11
Redefine block with dwg file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
NOOB here.
I found this code (attached) from http://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/update-blocks-amp-attributes-lisp/td-...
But, that one redefines all block definitions. I'd like to change it to redefine a single block:
In the active dwg, redefine an existing (existing), inserted block using a .dwg (file).
The file has attribute tags used by the existing.
The file may have been revised with added or deleted attribute tags.
The existing has attributes and values.
I'd like the existing to match the tags in the dwg. At the same time, existing values should be kept.
I'd like to run it like:
(Redefine "block1" "c:\\folder\\block1")