Bind Routines:
Here are two routines for you to try. The first one
overwrites the original file. The second routine saves the binded
file in the folder c:/My Acad/New Folder/ change this for
your needs. The second routine requires the full version of AutoCAD.
Copy paste them into Multi-Batch and test on some
drawings. Be careful because you can bind all the files very quickly. This
operation cannot be undone.
; Start of routine 1.
; Warning this will overwrite original files
_-xref
_bind
; Name of drawings to bind. * indicates all drawings
*
qsave
; End of routine 1
; Start of routine 2.
(setq draw_name(getvar "dwgname"))
; Replace folder address between " " for your needs
(setq draw_name (strcat "c:/My Acad/New Folder/"draw_name ))
_-xref
_bind
; Name of drawings to bind. * indicates all drawings
*
_saveas
!draw_name
; End of routine 2
If you wish to bind the drawings using the insert option
then add the line below to the top of either routine.
Bindtype 1
|