See the top rated post in this thread. Click here

Page 1 of 9 12345 ... LastLast
Results 1 to 10 of 83

Thread: remove data link from drawing??

  1. #1
    Member
    Join Date
    2007-06
    Posts
    32
    Login to Give a bone
    0

    Default 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
    Last edited by guyver1; 2008-04-04 at 10:42 AM.

  2. #2
    All AUGI, all the time Mlabell's Avatar
    Join Date
    2004-12
    Location
    Toledo, OH
    Posts
    513
    Login to Give a bone
    0

    Default 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.

  3. #3
    Member
    Join Date
    2007-06
    Posts
    11
    Login to Give a bone
    2

    Default Re: remove data link from drawing??

    Quote Originally Posted by guyver1 View Post
    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

  4. #4
    Member
    Join Date
    2005-09
    Location
    Invercargill, New Zealand
    Posts
    16
    Login to Give a bone
    0

    Default 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

  5. #5
    All AUGI, all the time kathy71046's Avatar
    Join Date
    2004-07
    Location
    Perth Australia
    Posts
    736
    Login to Give a bone
    0

    Default Re: remove data link from drawing??

    the dxe links aren't shown on the manager to delete...
    Attached Images Attached Images
    Kathy Taylor
    Senior Structural Draftsperson & Proprietor
    TaylorCAD
    www.taylorcad.com.au

    I don't suffer from insanity - I enjoy it!
    Revit User Phase 3, 4, 5, 4, 3, 5, 4.....

  6. #6
    Certifiable AUGI Addict
    Join Date
    2015-11
    Location
    Jo'burg SA
    Posts
    4,512
    Login to Give a bone
    0

    Default 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.
    Last edited by irneb; 2008-06-18 at 05:34 AM.

  7. #7
    Certifiable AUGI Addict
    Join Date
    2015-11
    Location
    Jo'burg SA
    Posts
    4,512
    Login to Give a bone
    4

    Default 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.
    Attached Files Attached Files
    Last edited by irneb; 2008-06-12 at 03:18 PM.

  8. #8
    Woo! Hoo! my 1st post
    Join Date
    2008-06
    Posts
    1
    Login to Give a bone
    0

    Talking Re: remove data link from drawing??

    This worked great!!! Thanks! Was very impressed with your code.

  9. #9
    All AUGI, all the time kathy71046's Avatar
    Join Date
    2004-07
    Location
    Perth Australia
    Posts
    736
    Login to Give a bone
    0

    Default 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
    Kathy Taylor
    Senior Structural Draftsperson & Proprietor
    TaylorCAD
    www.taylorcad.com.au

    I don't suffer from insanity - I enjoy it!
    Revit User Phase 3, 4, 5, 4, 3, 5, 4.....

  10. #10
    Woo! Hoo! my 1st post
    Join Date
    2008-07
    Posts
    1
    Login to Give a bone
    0

    Default 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.

Page 1 of 9 12345 ... LastLast

Similar Threads

  1. Remove Data Extractions
    By gfreddog in forum AutoCAD General
    Replies: 9
    Last Post: 2017-02-01, 05:29 PM
  2. Replies: 1
    Last Post: 2015-04-29, 01:18 PM
  3. Remove data from parameter in schedule
    By drewj in forum Revit MEP - General
    Replies: 4
    Last Post: 2010-11-10, 05:45 PM
  4. Field data lost at data link synchronization
    By brennsvette in forum AutoCAD 3D (2007 and above)
    Replies: 0
    Last Post: 2008-09-17, 03:07 PM
  5. Remove link from inserted raster images
    By jstdrwit in forum Raster Design - General
    Replies: 5
    Last Post: 2004-09-30, 07:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •