Jump to content

Delete Unloaded Xref


Recommended Posts

This has been discussed at length previously. so try doing search.

I will do it, if I have some more free time on my hand later

Link to comment
Share on other sites

NOOOOOO!!!!!! Don't use that code, it is horrible.

There are much better ways to do this.

I will have a browse through my library and get something up soon.

 

Are you specifically after lisp (if so then I can't help you), or VBA or .NET?

 

My pref is .NET, but VBA is acceptable I suppose....:wink:

Link to comment
Share on other sites

you r in better hands now MR MAN .

I was just trying to help bcs no one lese had answered.

LCE is the men for customisation so you will get better help from him.

good luck

Link to comment
Share on other sites

:) Is There Any Way For Delete Unloaded Xref And Unrefranced Xref Automatically.

 

Mr Man.

 

In addition to my previous post, please answer the few questions below.

 

1. Do you want to run it in a drawing, or from outside of AutoCAD?

2. Do you want to run it on 1 drawing, or a collection of drawings?

3. You have mentioned that you would it to remove unloaded and unreferenced, so I assume any unresolved xrefs will be removed, correct?

4. If you want to run it in AutoCAD, do you want it to be command line based, or with an interface?

5. If you want to run it in AutoCAD, how would you want it to handle unresolved xrefs found in the attached xrefs? So DWG1 xrefed into DWG2 as an attachment but is unreferenced, DWG2 xrefed into DWG3. In DWG3 you will see DWG1 in the list, would you like to remove this from DWG2? (Hope this makes sense)...

 

I think that is all for now.

 

Cheers

Link to comment
Share on other sites

THANK YOU LCE AND FOR YOU DIPALI I DON'T KNOW WHAT I SAY FOR YOUR HELP,

LCE THE ANSWERS FOR YOUR QUESTIONS ARE:

1- I WANT USE A LISP FOR IT SO, IT WILL BE IN A DRAWING.

2- I WANT RUN IT FOR ONE DRAWING.

3- YES I WANT REMOVE ALL UNRESOLVED XREFS BUT SOME TIMES WHEN YOU COPY XREF IN ANOTHER PLACE IT WILL BE NEED TO FOUND ITS PATH UNTIL IN SOME CASES WHEN YOU MAKE IT RELATIVE PATH.

4- IT WILL BE COMMAND LINE BECAUSE IT WILL BE A LISP.

5- THE UNLOADED XREF WHICH I NEED TO REMOVE TAKEN FROM Architecture SO, AFTER I FINISH MY WORK I DON'T NEED IT(I WORK IN CIVIL ENGINEERING).

6- IF YOU HAVE ANY IDEA TO LET A MESSAGE APPEAR WHEN THE LISP FOUND ANY ERROR IT WILL BE VERY GOOD SOLUTION FOR ME.

 

 

 

FINALLY THANKS ALOT FOR YOUR CARE AND FOR YOU DIPALI ALSO I DON'T FORGET HIS HELP,

 

 

YOURS,

MR MAN

Link to comment
Share on other sites

Mr Man, Thanks for the reply.

Unfortunately, if you specifically want lisp for some reason then I can not help you with that, I am sure someone else will be along that can help though.

You do realise that both vba and .net apps can also be run through the command line without a dialog box, right?

 

If you would like me to get something up that is vba or .net then let me know, but if it is specifically lisp like you have said, then good luck.

 

Cheers

Link to comment
Share on other sites

THANKS AGAIN LCE AND FORGIVE ME FOR THIS MISTAKE BECAUSE I DIDN'T WORK WITH VBA AND .NET APPS BEFORE, SO, IF ANY OF THEM WORK FROM COMMAND LINE AS YOU SAY IT WILL BE VERY GOOD FOR ME.

I'M VERY HAPPY WITH YOUR HELP,

I WAIT YOUR REPLY.

 

YOURS,

MR MAN

Link to comment
Share on other sites

THANKS AGAIN LCE AND FORGIVE ME FOR THIS MISTAKE BECAUSE I DIDN'T WORK WITH VBA AND .NET APPS SO, IF ANY OF THEM WORK FROM COMMAND LINE AS YOU SAY IT WILL BE GOOD.

I'M VERY HAPPY WITH YOUR HELP,

I WAIT YOUR REPLY.

 

YOURS,

MR MAN

OK, no problem Mr Man.

I will work up an example for you and post it later.

 

Cheers

Link to comment
Share on other sites

  • 2 years later...

I would love to find a tool to delete unloaded xref files, but have been unable to do so. This is the closest thread I found to what I would like to do. Does anyone know of such a tool?

Link to comment
Share on other sites

  • 3 months later...
OK, no problem Mr Man.

I will work up an example for you and post it later.

 

Cheers

 

Dear LCE

 

I have same problem as well. I am looking for your solution as well. Is it possible to post it here?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...