Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Linetypes now have bad definitions

  1. #11
    Woo! Hoo! my 1st post
    Join Date
    2014-05
    Posts
    1
    Login to Give a bone
    0

    Default Re: Linetypes now have bad definitions

    Had the same problem in 2013. I copied the LTYPESHP.SHX file from 2012 and replaced the 2013 file. These linetypes load fine now.

  2. #12
    100 Club
    Join Date
    2008-06
    Location
    Rochester, NY
    Posts
    109
    Login to Give a bone
    0

    Default Re: Linetypes now have bad definitions

    I know this is old, and I apologize from bringing it back from the dead, but I've been having the same problem. I think I know why, but not exactly sure of the cause or an easy fix to apply to all my affected projects.

    What seems to be happening is that files are having a TEXTstyle with the ltypeshp.shx file assigned as it's font. When I load one of these files, AutoCAD records in the command line that it is replacing simplex.shx for ltypeshp.shx (usually multiple times).

    Usually a purge of TextStyles will take care of things, as there is usually no text in the file using the TextStyle. If the purge will not remove the text style, I would just change the font of the style to any other font. This could be affected in XREFs too, so I'd dig through manually into all the XREFs and get rid of any text style definition with the ltypeshp.shx "font".

    Once the ltypeshp.shx is no longer defined as a FONT, you can reopen the files and the linetypes work just fine.

    Again, I am not sure how these Text styles are being added to our files, we have been dealing with the ACAD.lsp virus, so I would assume that would be the culprit, but not sure. As for resolving this, I have been manually eliminating the definitions as they are reported, I'd love something automatic that can be added to my acaddoc.lsp or something.

  3. #13
    Certifiable AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL USA
    Posts
    3,658
    Login to Give a bone
    0

    Default Re: Linetypes now have bad definitions

    Quote Originally Posted by zride91 View Post
    What seems to be happening is that files are having a TEXTstyle with the ltypeshp.shx file assigned as it's font. When I load one of these files, AutoCAD records in the command line that it is replacing simplex.shx for ltypeshp.shx (usually multiple times).
    Linetypes with text reference TextStyles while Linetypes with shapes reference shape files like ltypeshp.shx. While simplex.shx & ltypeshp.shx fonts have the extension AutoCAD recognizes the difference and would not replace one for the other. Your ltypeshp.shx is probably corrupt and should be replaced by one from a clean PC. That ACAD.lsp virus you mentioned would have to be the culprit.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Property Set Definitions
    By Wish List System in forum Civil 3D Wish List
    Replies: 1
    Last Post: 2013-02-03, 06:45 PM
  2. attribute definitions
    By domvanroo in forum AutoCAD LT - General
    Replies: 0
    Last Post: 2009-03-30, 07:19 AM
  3. IES web file definitions
    By angus.110169 in forum Revit Architecture - General
    Replies: 6
    Last Post: 2008-12-03, 05:13 AM
  4. bad definitions in custom linetypes
    By jgratton in forum AutoCAD Customization
    Replies: 3
    Last Post: 2006-11-04, 05:07 AM
  5. Replies: 12
    Last Post: 2006-05-31, 08:26 AM

Posting Permissions

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