See the top rated post in this thread. Click here

Results 1 to 7 of 7

Thread: Linetype & Fonts

  1. #1
    I could stop if I wanted to CadDog's Avatar
    Join Date
    2005-06
    Location
    So Ca
    Posts
    439
    Login to Give a bone
    0

    Question Linetype & Fonts

    Someone Help me Understand AutoCAD 2018 (Vanilla or whatever it's now called)...

    So, late week when I selected Load...
    to load the linetype (aka Acad.lin) I got a message

    " Bad definition of XXXX at line XXX of our Acad.lin"

    When on line and found out this link:

    https://knowledge.autodesk.com/suppo...-linetype.html

    After following the steps all was good until the next day when again I got the message again.

    Lastly, I just used STANDARD font but with it I don't get the nice box etc. I needed to use [] in place the "box, simplex"

    Just today I got the same message with AutoCAD 2016.
    AutoCAD 2012 (yes this is old) still was as always.

    Again, any help understanding this change will be welcome.


    Thanks for taking the time to read this post.

  2. #2
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,805
    Login to Give a bone
    0

    Default Re: Linetype & Fonts

    What was missing? A shape file or a style in the drawing?
    R.K. McSwain | CAD Panacea |

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

    Default Re: Linetype & Fonts

    You would have to post the original linetype definition XXXX located at line XXX of your Acad.lin for anyone to be able to help you. The linetype definition is two lines, but the error was probably found in the second line.

    Post both lines inside Code Tags. Clicking the [Go Advanced] button at the bottom puts a toolbar at the top and the # icon in that toolbar places code tags around selected text for you or simply paste your code inside.

  4. #4
    I could stop if I wanted to CadDog's Avatar
    Join Date
    2005-06
    Location
    So Ca
    Posts
    439
    Login to Give a bone
    0

    Default Re: Linetype & Fonts

    Ok, here is what has always worked before a couple of weeks ago.

    *FENCELINE2,Fenceline square ----[]-----[]----[]-----[]----[]---
    A,.25,-.1,[BOX,ltypeshp.shx,x=-.1,s=.1],-.1,1

    Here is what I needed to do just to get the line type loaded.

    *FENCELINE2,Fenceline square ----[]-----[]----[]-----[]----[]---
    A,.25,-.1,["[]",STANDARD,x=-.1,s=.1],-.1,1

    Yes, I tried using simplex which worked a day.

    So again, why this change after so many years?

    And lastly, what do I need to do to get the box shape back?

    Thanks

    I hope this is a good bone...

  5. #5
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,805
    Login to Give a bone
    0

    Default Re: Linetype & Fonts

    There is nothing that has changed. The same linetypes that worked 25 years ago, still work in AutoCAD 2019.

    I suspect the file "ltypeshp.shx" is not in your support path and AutoCAD can't find it.
    R.K. McSwain | CAD Panacea |

  6. #6
    Certifiable AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL USA
    Posts
    3,667
    Login to Give a bone
    1

    Default Re: Linetype & Fonts

    ltypeshp.shx installs with AutoCAD in your roamable support folder, most likely your support paths got messed up somehow.
    Enter
    Code:
    (startapp "explorer" (strcat "/n,/e," (getvar "roamablerootprefix")"Support")
    to open it. Check to see if ltypeshp.shx is in the folder then make sure the path is in both "Support File Search Path" and "Trusted Locations".

  7. #7
    I could stop if I wanted to CadDog's Avatar
    Join Date
    2005-06
    Location
    So Ca
    Posts
    439
    Login to Give a bone
    0

    Default Re: Linetype & Fonts

    Quote Originally Posted by Tom Beauford View Post
    ltypeshp.shx installs with AutoCAD in your roamable support folder, most likely your support paths got messed up somehow.
    Enter
    Code:
    (startapp "explorer" (strcat "/n,/e," (getvar "roamablerootprefix")"Support")
    to open it. Check to see if ltypeshp.shx is in the folder then make sure the path is in both "Support File Search Path" and "Trusted Locations".
    That was it...!!!

    (strcat "/n,/e," (getvar "roamablerootprefix")"Support"))

    While looking here I thought of where I have placed all our company fonts.
    The fonts was there but somehow I didn't have the path noted under "Support File Search Path"

    That link I posted first, saying the I needed to replace the font, really thew me for a loop...
    "Change the style from "ltypeshp.shx" to another font (such as "simplex.shx")."

    I added the path and all it well again in AutoCAD Land...

    Thanks everyone.

    I tell everyone here, that a team works better than a lone wolf...
    Last edited by CadDog; 2018-10-11 at 10:04 PM. Reason: wanted to be clear on what I found

Similar Threads

  1. Replies: 5
    Last Post: 2013-06-25, 12:40 AM
  2. Extract Linetype information from a custom Linetype
    By H.Hunter in forum AutoCAD Customization
    Replies: 3
    Last Post: 2006-08-15, 05:27 AM
  3. Different fonts have started showing up as default AutoCAD fonts
    By jackie.112886 in forum AutoCAD General
    Replies: 3
    Last Post: 2006-05-15, 11:02 PM
  4. DWF loses protected fonts - download fonts option?
    By christo4robin in forum Revit Architecture - General
    Replies: 0
    Last Post: 2006-03-25, 12:01 AM
  5. shx fonts to true type fonts
    By sbrown in forum Revit Architecture - Tips & Tricks
    Replies: 9
    Last Post: 2004-03-31, 02:53 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
  •