New Member
Posts: 2
Registered: ‎01-03-2012
Message 1 of 3 (1,506 Views)

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

1506 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
Posts: 338
Registered: ‎05-12-2009
Message 2 of 3 (1,503 Views)

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*
Posts: 1,147
Registered: ‎03-25-2009
Message 3 of 3 (1,482 Views)

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
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.