TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: MSTG007 on April 11, 2015, 09:07:16 AM
-
Lee ad awhile ago showed me an awesome way to do some layer management stuff via this.
http://www.theswamp.org/index.php?topic=47376.msg524151#msg524151
I was wondering using his same setup how to change it to redefine 1 block name in mulitple dwgs.
Thanks!
-
in my own understanding. ObjectDBX wrapper cannot do that.
http://lee-mac.com/odbxbase.html
-
You could try the following (untested!):
(defun c:batchredef
( / blk dwg
) (= "" (setq blk
(getstring t
"\nSpecify block name to redefine: "))) )
)
)
(LM:odbx
)
)
)
)
)
)
)
nil t
)
)
)
EDIT: On testing the above, this method does not appear to be successful.