Results 1 to 6 of 6

Thread: SHAPE|REF

  1. #1
    AUGI Addict kennet.sjoberg's Avatar
    Join Date
    2002-05
    Posts
    1,706

    Default SHAPE|REF

    I do have problem with nested, not existing stuff in files from other companies

    Attached is an "empty drawing" with no graphic objects, when you open the drawing it is asking for tberg.shx

    this is what I found with tblnext "STYLE"
    ((0 . "STYLE") (2 . "SHAPE|REF") (70 . 17) (40 . 0.0) (41 . 1.0) (50 . 0.0) (71 . 0) (42 . 3.0 ) (3 . "tberg.shx") (4 . ""))
    ((0 . "STYLE") (2 . "SHAPE|REF") (70 . 17) (40 . 0.0) (41 . 1.0) (50 . 0.0) (71 . 0) (42 . 2.5 ) (3 . "mark.shx" ) (4 . ""))



    How do I remove this stuff programmatically, I have a lot of different assoc 3 in many drawings.

    : ) Happy Computing !

    kennet
    Attached Files Attached Files
    The essential thing is what you write in the post. . . .not the numbers of posts.

  2. #2
    Certified AUGI Addict rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Houston
    Posts
    7,543

    Default Re: SHAPE|REF

    I would like to know also. I have seen drawings like this before and have always figured it was just a corrupt drawing - but AutoCAD thinks these shapes are being referenced somehow...

    I was able to replace the string "tberg.shx" with "" (and "mark.shx" with "") and saved the drawing - and it does not prompt you for these shape files anymore, but the table entries are still there.

    I wonder if the missing application, "MagiCAD" has anything to do with this?
    SNAG-07.png

  3. #3
    AUGI Addict kennet.sjoberg's Avatar
    Join Date
    2002-05
    Posts
    1,706

    Default Re: SHAPE|REF

    Quote Originally Posted by rkmcswain View Post
    I would like to know also. I have seen drawings like this before and have always figured it was just a corrupt drawing - but AutoCAD thinks these shapes are being referenced somehow...
    Yes, and the bad thing is that AutoCAD accept them.
    Quote Originally Posted by rkmcswain View Post
    I was able to replace the string "tberg.shx" with "" (and "mark.shx" with "") and saved the drawing - and it does not prompt you for these shape files anymore, but the table entries are still there.
    I do not like that hint, because I have a lot of them "" also in the drawings.
    Quote Originally Posted by rkmcswain View Post
    I wonder if the missing application, "MagiCAD" has anything to do with this?
    I think MicroStation is involved to. . .


    So now is the question : How do we remove this stuff programmatically ?

    : ) Happy Computing !

    kennet
    The essential thing is what you write in the post. . . .not the numbers of posts.

  4. #4
    AUGI Addict kennet.sjoberg's Avatar
    Join Date
    2002-05
    Posts
    1,706

    Default Re: SHAPE|REF

    Quote Originally Posted by rkmcswain View Post
    . . .I was able to replace the string "tberg.shx" with "" . . . .
    Can you replace assoc 2 and assoc 70 to ?
    (2 . "SHAPE|REF") to (2 . "qqqqqq")
    or
    (70 . 17 ) to (70 . 0 )


    : ) Happy Computing !


    kennet
    The essential thing is what you write in the post. . . .not the numbers of posts.

  5. #5
    AUGI Addict kennet.sjoberg's Avatar
    Join Date
    2002-05
    Posts
    1,706

    Default Re: SHAPE|REF

    Quote Originally Posted by kennet.sjoberg View Post
    I do have problem with nested, not existing stuff in files from other companies

    Attached is an "empty drawing" with no graphic objects, when you open the drawing it is asking for tberg.shx

    this is what I found with tblnext "STYLE"
    ((0 . "STYLE") (2 . "SHAPE|REF") (70 . 17) (40 . 0.0) (41 . 1.0) (50 . 0.0) (71 . 0) (42 . 3.0 ) (3 . "tberg.shx") (4 . ""))
    ((0 . "STYLE") (2 . "SHAPE|REF") (70 . 17) (40 . 0.0) (41 . 1.0) (50 . 0.0) (71 . 0) (42 . 2.5 ) (3 . "mark.shx" ) (4 . ""))



    How do I remove this stuff programmatically, I have a lot of different assoc 3 in many drawings.

    : ) Happy Computing !

    kennet
    SuperPurge "Shape files" do the job. . . so there must be a solution

    anyone ?
    The essential thing is what you write in the post. . . .not the numbers of posts.

  6. #6
    Certified AUGI Addict rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Houston
    Posts
    7,543

    Default Re: SHAPE|REF

    Quote Originally Posted by kennet.sjoberg View Post
    SuperPurge "Shape files" do the job. . . so there must be a solution

    anyone ?
    Obviously Owen knows the structure there... Maybe you could contact him...

Similar Threads

  1. "Undefined shape" but no missing shape file?
    By cheshirecatfish in forum AutoCAD General
    Replies: 9
    Last Post: 2012-01-04, 03:42 AM
  2. Rebar shape
    By annie123 in forum Revit Structure - General
    Replies: 6
    Last Post: 2010-02-22, 11:51 AM
  3. Missing Shape Files / Select Shape File
    By Mac Demer in forum AutoCAD General
    Replies: 7
    Last Post: 2006-11-05, 12:36 PM
  4. Using Mr. Sid Shape files in Map
    By jmckinney.91816 in forum AutoCAD Map 3D - General
    Replies: 5
    Last Post: 2005-10-13, 08:22 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
  •