Tip 2251: Bind Xrefs to the Drawing Bind Xrefs to the Drawing, by Sherwood Coleman, is a very simple macro that combines two AutoCAD commands -- Xref and Purge -- into a single command called Bax. This function binds external references into the drawing, then purges the unused information. This example is great for those just starting in LISP and wondering how to put together a macro involving a couple of commands and system variable settings. To use it, just load the LSP file and type C:Bax at the Command line of AutoCAD. The rest is automatic. When you start building new commands, you begin to take control of AutoCAD. Next comes productivity. Thanks for the tip, Sherwood. |