remove data link from drawing??
i use data extraction to create a private drainage table, something happended when i updated the xref that stoppped the table from updating when i changed some things around. but thats unimportant.
I created a new revised xref and then created a new data extraction table.
problem is the new xref has the new data link showing up in xref manager along with 3 copies of the original data link!!!
how the hell do i remove the 3 original data links, xref manager tells me i cannot detach,unload or bind them so how on earth do you remove data links, data extraction data from drawings coz its doing my head in.
these are dxe files.
cheers
Re: remove data link from drawing??
Is there any way that you can post a drawing so we can take a look, I have had similar issues but a reboot has taken care it. Also maybe purge abd audit both the xref file, and the drawing file itself.
Re: remove data link from drawing??
Quote:
Originally Posted by
guyver1
i use data extraction to create a private drainage table, something happended when i updated the xref that stoppped the table from updating when i changed some things around. but thats unimportant.
I created a new revised xref and then created a new data extraction table.
problem is the new xref has the new data link showing up in xref manager along with 3 copies of the original data link!!!
how the hell do i remove the 3 original data links, xref manager tells me i cannot detach,unload or bind them so how on earth do you remove data links, data extraction data from drawings coz its doing my head in.
these are dxe files.
cheers
TOOLS-DATA link-data link manager
right click and delete the data links you don't want
Re: remove data link from drawing??
I thought I would try data links on a Drawing with lots of spatial data
What a nightmare
Does anyone use this?
and my PC (which has enough Power) almost stops
now that I have given up, I cant get rid of them.
I find this very painful
How do you get rid of DataLinks from AutoCAD 2008?
Tools-Datalinks-Datalinks Manager wont let me remove it
and I also cant delete the table from AutoCAD as it Locks the table out
2 Attachment(s)
Re: remove data link from drawing??
the dxe links aren't shown on the manager to delete...
Re: remove data link from drawing??
This is disastrous, I tried even a WBLOCK. It still brings those DATALINKS with, even if they're not referenced. Even if you select just a few entities, as soon as any of those entities are tables associated with a datalink ... absolutely ALL data links are brought with to the newly created DWG file.
At first I simply saved as to DXF so I could open & check using a text editor. But that's an extremely difficult way of getting rid of these things.
So after some deep searching in HELP and inspecting raw data in the VLIDE. I noticed there's not just the ghost DATALINKS which propagate everywhere. I started writing a Lisp routine to list just the "Dictionaries" where the DATALINKS are stored. It's not yet complete as it only displays these - and actually editing / deleting may cause "some" grief. But I'm posting this "viewer" so you can see the extent of ghost data in any drawing.
For example in mine I Purged all, including -Purge Regapps. Running the routine (type DICTEDIT at the command line after you've loaded the LSP file) it shows about 7 AEC dictionaries with their respective items ranging from 0 to 50. That's appart from 15 DataLink items - even though only one is used.
If you want to test this download both these files to one of your support paths. Load the LSP file, and type the new command: DICTEDIT. It doesn't do anything (yet), it simply displays the data. The Edit / Delete buttons don't work.
2 Attachment(s)
Re: remove data link from drawing??
Ok, I've implemented the DATALINK Delete. Had to provide a way of also deleting any tables using the selected DATALINK. Otherwise, AutoCAD crashes if you then select the table.
Run the DICTEDIT command, select the ACAD_DATALINK dictionary in the left list. Select the DATALINK item in the List of Items (right-bottom). Click the Delete Item button. It will ask you a "Are you sure" question - just so you don't accidentally erase something you didn't want. If the link is used in a table - it will again ask if you also want to delete the table(s). If you answer No to any of the 2 questions nothing will be done.
I've also "wrapped" the entire command in an undo group, so if you decide it's a stuff-up you can simply undo to restore the data links and / or tables as before.
Re: remove data link from drawing??
This worked great!!! Thanks! Was very impressed with your code.
Re: remove data link from drawing??
Not sure which bit holds the dxe info, but once I finish this drawing off, and copy it, I will play around with this.
Awesome Work :beer::beer::beer:
Re: remove data link from drawing??
Big thanks irneb. That lsp was exactly what I've been looking for. I found I had to run your lsp, save, close, & reopen the dwg. The datalink is now gone. You rock.