New Member
2 Posts
0 Kudos
Registered: ‎01-03-2012
Post 1 of 3

Bind Xref, Explode, Purge All, Zoom Extents, Save

1560 Views, 2 Replies
01-03-2012 08:52 AM

I would like to run a routine that would Bind Insert Xrefs, Explode, Purge All, Zoom Extents and Save the file. I am not very lisp/.net savvy, so I was hoping someone out there could provide me with a routine that does just that.

Thanks in advance!

Valued Mentor
341 Posts
53 Kudos
Registered: ‎05-12-2009
Post 2 of 3

Re: Bind Xref, Explode, Purge All, Zoom Extents, Save

01-03-2012 09:32 AM in reply to: e2luc

If you know nothing about programming

1. Just enter the commands at commandline and use a "-" before commands that display a dialog box.

2. Press F2 and copy history

3. Copy and paste in NotePad

4. CleanUp

5. Save as a .scr file



You can drag and drop the file on a open drawing, call it from a tool palette, etc.....


Example of Bind and Purge


Copied from Command Line

Command: -XREF
Enter an option [?/Bind/Detach/Path/Unload/Reload/Overlay/Attach] <Attach>: b
Enter xref name(s) to bind: *
No matching xref names found.
Command: -PURGE
Enter type of unused objects to purge 
geometry/Empty text objects/All]: a
Enter name(s) to purge <*>:
Verify each name to be purged? [Yes/No] <Y>: n
Deleting block "*U18".
Deleting block "*U20".
Deleting block "*U23".
3 multileader styles deleted.
No unreferenced groups found.

 After removing all comand prompts and leaving just commands & keywords






You can also find your answers @ TheSwamp
*Expert Elite*
1,184 Posts
127 Kudos
Registered: ‎03-25-2009
Post 3 of 3

Re: Bind Xref, Explode, Purge All, Zoom Extents, Save

01-03-2012 07:37 PM in reply to: e2luc

You can try EXPLODEALL.vlx to bind xref and explode them while keep the original color and trim off objects outside the xref clipping boundary.




Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!