.NET

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

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

1223 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: 319
Registered: ‎05-12-2009
Message 2 of 3 (1,220 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 
[Blocks/Dimstyles/Groups/LAyers/LTypes/MAterials/MUltileaderstyles/Plotstyles/SH
apes/textSTyles/Mlinestyles/Tablestyles/Visualstyles/Regapps/Zero-length 
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

-XREF
b
*
-PURGE
a
*
n

 

 

 

 

You can also find your answers @ TheSwamp
*Expert Elite*
3wood
Posts: 909
Registered: ‎03-25-2009
Message 3 of 3 (1,199 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.

 

3wood

CAD KITS

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you interested in helping shape the Autodesk Community?
We’re looking at a few different ways to improve the “All Forums” landing page and need your feedback! If interested, please take a few minutes to fill out the following Usability Study. Thank you for your time!

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community