See the top rated post in this thread. Click here

Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: acad.lin location

  1. #1
    All AUGI, all the time thomas.stright's Avatar
    Join Date
    2015-12
    Location
    Texas
    Posts
    564
    Login to Give a bone
    0

    Question acad.lin location

    I understand how to edit the acad.lin file, How many places does 06 look for this? Do I need to replace all acad.lin files? or just one?

  2. #2
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,100
    Login to Give a bone
    0

    Default Re: acad.lin location

    It would most likely be the first one found from the order of your support folders. You can find that order from the Options dialog box on the File tab under Support File Search Path.
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

  3. #3
    AUGI Addict .T.'s Avatar
    Join Date
    2000-12
    Location
    Lost
    Posts
    1,473
    Login to Give a bone
    0

    Default Re: acad.lin location

    Hi Thomas,

    If I remember right, by default, acad.lin is in each users support directory in each version,
    (<drive>:\Documents and settings\%username%\Application Data\Autodesk\<version>\
    <revision>\enu\Support), so it depends on how many versions and how many users.

    I believe it was moved out of the Program Files directory completely.

  4. #4
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,804
    Login to Give a bone
    1

    Default Re: acad.lin location

    You can use this to find the currently referenced "acad.lin" file.

    (startapp "notepad" (findfile "acad.lin"))
    R.K. McSwain | CAD Panacea |

  5. #5
    AUGI Addict sinc's Avatar
    Join Date
    2004-02
    Location
    Colorado
    Posts
    1,986
    Login to Give a bone
    0

    Default Re: acad.lin location

    Quote Originally Posted by rkmcswain
    You can use this to find the currently referenced "acad.lin" file.

    (startapp "notepad" (findfile "acad.lin"))
    Now that's the sort of trick that would put Lisp-lovers into a swoon...

  6. #6
    AUGI Addict .T.'s Avatar
    Join Date
    2000-12
    Location
    Lost
    Posts
    1,473
    Login to Give a bone
    0

    Default Re: acad.lin location

    Thanks for the tip RK

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

    Default Re: acad.lin location

    I actually use a little more robust version of this that prompts me for a file name - then opens it in my fav ASCII editor -- useful for .pgp, acad.lsp, acaddoc.lsp, acad.lin, acad.pat, etc.

    No need to know where it's at....
    R.K. McSwain | CAD Panacea |

  8. #8
    AUGI Addict sinc's Avatar
    Join Date
    2004-02
    Location
    Colorado
    Posts
    1,986
    Login to Give a bone
    0

    Default Re: acad.lin location

    Quote Originally Posted by rkmcswain
    You can use this to find the currently referenced "acad.lin" file.

    (startapp "notepad" (findfile "acad.lin"))
    Another option:

    From the "Select Linetype" dialog, hit the "Load..." button. It will start out pointing at your currently-loaded file, and you can just look and see where it's at.

  9. #9
    All AUGI, all the time thomas.stright's Avatar
    Join Date
    2015-12
    Location
    Texas
    Posts
    564
    Login to Give a bone
    0

    Default Re: acad.lin location

    Thanks for the replies and ideas.

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

    Default Re: acad.lin location

    My earlier post was bit misleading, as is the follow up post suggesting that there is a "currently-loaded file".

    Linetype definitions are stored in the drawing file, so there is no "currently-loaded file", or "currently referenced 'acad.lin' file" as I badly put it.

    You could have 10 different "acad.lin" files, or none of them. You could have a "thomas.lin" instead. Upon opening of a drawing, it won't make any difference. There is certainly no guarantee that the "hidden" linetype in a drawing you have is the same as the definition of "hidden" in any given .LIN file.

    The method of finding the file that "richards.64879" wrote about is identical to the (findfile...) lisp trick. They both search the support file search path for the first "acad.lin" file.

    The original request was about finding the "acad.lin" file as if there is only one that AutoCAD will read. This is sort of misleading too. True, AutoCAD will point you to a "acad.lin" file as "richards.64879" said while in the LINETYPE command, but you are free to load linetype definitions from any .LIN file.

    If you are planning to modify "acad.lin" or create your own "thomas.lin" for example, then you should start your own customization directory if you have not already. For example, create a "C:\Thomas" directory. Put this path at the TOP of your support file search path, and then save your modified copy of "acad.lin" in C:Thomas. Put anything else in this directory that you have created for yourself (acaddoc.lsp, acad.lsp, <yourcustommenu>.cui, etc.) Then when you upgrade, all you have to do is add "C:Thomas" to the top of the support file search path.

    This will eliminate confusion regarding multiple .LIN files, or which one is the default, or which one should you edit, or even keep you from mistakenly deleting your "good" version... since all your customized files will live in a non-Autodesk supplied directory.
    R.K. McSwain | CAD Panacea |

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 2014-04-02, 05:30 PM
  2. Location of Call Out | Location of Detail
    By baker in forum AutoCAD Sheet Set Manager
    Replies: 1
    Last Post: 2013-07-10, 06:06 PM
  3. Express tool ALIASEDIT won't remember acad.pgp location
    By GreyHippo in forum AutoCAD General
    Replies: 2
    Last Post: 2008-08-26, 04:11 PM
  4. Saving the acad.err file to a server location
    By Mlabell in forum AutoCAD General
    Replies: 1
    Last Post: 2008-01-30, 07:54 PM
  5. ACAD Menu file location
    By cad.33286 in forum AutoCAD General
    Replies: 5
    Last Post: 2005-01-06, 12:31 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
  •