acad.lin help

acad.lin help

DartGTDan-2018
Enthusiast Enthusiast
7,010 Views
14 Replies
Message 1 of 15

acad.lin help

DartGTDan-2018
Enthusiast
Enthusiast

I have a drawing that was created with AutoCAD version 10 (if I remember correctly).  When I created this drawing I also created many different line types by "playing around" with the acad.lin file (using notepad).

 

I recently opened the original drawing using, our corporate wide, AutoCAD-2018.  The drawing opens fine and I can change any line to any of the linetypes I created originally.

 

I now have a need to create a new linetype for this old drawing.  I thought I could modify the acad.lin file as I have in the past.  Unfortunately, when I open acad.lin file (using notepad) none of the linetypes I created are there, but the standard acad linetypes are there.

 

Is there a way to retrieve the linetypes information of the linetypes I created, from the opened (using AutoCAD-2018) drawing, and saving that information to the acad.lin file?  I can see my created linetypes in the pull-down menu of the Linetype box of the General tab of the Properties dialog box.

 

HELP!!

0 Likes
Accepted solutions (1)
7,011 Views
14 Replies
Replies (14)
Message 2 of 15

imadHabash
Mentor
Mentor

Hi,

you may try this outsource help . >> Click <<   >> Click1 <<  .

 

Good Luck .. 

Imad Habash

EESignature

0 Likes
Message 3 of 15

CADmonkey_UK_Building_Services
Collaborator
Collaborator
The easiest way to accomplish this is to find a copy of the original Release 10 (for DOS?) .LIN file.

Failing that you need a custom LSP routine to export Linetypes from your current drawing. They exist, but you'll have to dig them up yourself.

Failing THAT you can create an empty drawing/template containing all your Linetypes and then cut & paste them as needed.
======================================================

Please select the Accept as Solution button if my post solved your issue.

Intel 7740x - Quadro 6000 - 32Gb RAM - CADmouse - Logitech G710
0 Likes
Message 4 of 15

Sure you can get all of your linetype out but if you only have AutoCAD you will need to use a third party to do it.

This is from the Autodesk Knowledge site:

https://knowledge.autodesk.com/support/autocad/learn-explore/caas/sfdcarticles/sfdcarticles/how-to-e...

 

 

0 Likes
Message 5 of 15

vinodkl
Mentor
Mentor

You can use this lisp(see attachment) to extract the linetypes used in drawing into .lin file.

--------------------------------------------------------------------------------------------------------------------------
ವಿನೋದ್ ಕೆ ಎಲ್( System Design Engineer)
Likes is much appreciated if the information I have shared is helpful to you and/or others.

Please mark "Accept as Solution" if my reply resolves the issue or answers your question, to help others in the community.
--------------------------------------------------------------------------------------------------------------------------
0 Likes
Message 6 of 15

DartGTDan-2018
Enthusiast
Enthusiast

I was able to download your linout.lsp file and put it into the lisp file folder in the CUI menu in my drawing.  But how do I make the linout.lsp work?  I've never used a lisp procedure before.  I assume your lisp file will create a new acad.lin file?  If so, where would I find that?  If not, then what?  Please provide some elementary guidance.

 

I should also add that any external help (like the links others have provided) are not possible for me.  "Big Brother" is always watching/blocking any external attempts.

0 Likes
Message 7 of 15

pendean
Community Legend
Community Legend
drag and drop the LSP file onto your open DWG file you want to extract from, then type LINOUT and hit <enter>

0 Likes
Message 8 of 15

vinodkl
Mentor
Mentor
Accepted solution

You can drag and drop the file (linout.vlx)into AutoCAD drawing from which you want to extract the line types and then type in the command LINOUT. now the line types used in the drawing will the exported into .lin file into the same location where the drawing is.

--------------------------------------------------------------------------------------------------------------------------
ವಿನೋದ್ ಕೆ ಎಲ್( System Design Engineer)
Likes is much appreciated if the information I have shared is helpful to you and/or others.

Please mark "Accept as Solution" if my reply resolves the issue or answers your question, to help others in the community.
--------------------------------------------------------------------------------------------------------------------------
0 Likes
Message 9 of 15

DartGTDan-2018
Enthusiast
Enthusiast

BINGO!!!!

 

Exactly what I needed!

 

Kudos!

0 Likes
Message 10 of 15

DartGTDan-2018
Enthusiast
Enthusiast

My employer just "upgraded" from AutoCAD 2018 to AutoCAD LT 2021.  It does not appear this lisp will work.  The LINOUT is now an "unknown command".  Any other ideas?

 

PS I still can't use third party sources ("Big Brother").

0 Likes
Message 11 of 15

vinodkl
Mentor
Mentor

Hi @DartGTDan-2018 

 

Sorry, AutoCAD LT doesn't support plugins or lisp. Only the full version supports the lisp and plugins. That's the reason why AutoCAD LT is sold at less price than Full version of AutoCAD 🙂

--------------------------------------------------------------------------------------------------------------------------
ವಿನೋದ್ ಕೆ ಎಲ್( System Design Engineer)
Likes is much appreciated if the information I have shared is helpful to you and/or others.

Please mark "Accept as Solution" if my reply resolves the issue or answers your question, to help others in the community.
--------------------------------------------------------------------------------------------------------------------------
0 Likes
Message 12 of 15

DartGTDan-2018
Enthusiast
Enthusiast

That's what I figured. 😞  Thanks!

0 Likes
Message 13 of 15

SurveySauce253
Observer
Observer

Hi I've downloaded this lisp routine and used APPLOAD to load it into my drawing. When I type the LINOUT command I receive "File Creation Failed!". I'm using Autocad civl 3d 2025 and am trying to get my linetypes from an old template into a different template. They text in my linetypes is SUPER small and illegible. I've checked the drawing units, LTSCALE set to 1 in both drawings, and text style height set to 0. Getting my linetypes out in a .lin file was my last resort to try to get these linetypes looking right in the new template. any advice? 

0 Likes
Message 14 of 15

pendean
Community Legend
Community Legend

@SurveySauce253 wrote:

....They text in my linetypes is SUPER small and illegible...


Where is your old setup? Why can you not access your custom linetypes from that older C3D installation?

 

This is not a C3D forum: so the replies here may not apply to you. But it might others so...

 

LINEOUT failed because your linetype uses a font /shape file you do not possess most likely.

 

Are these annotative? Change your CANNOSCALE setting.

 

Or you could try just changing the LINETYPE SCALE of that/those lines in PROPERTIES.

 

STYLE command, change height settings of the style you think it is then REGENALL to see if that helps. Try with others.

0 Likes
Message 15 of 15

cadffm
Consultant
Consultant

Hi,

 

>>"I receive "File Creation Failed!"

a problem with writeaceess or special characters.

 

>>". I'm using Autocad civl 3d 2025 and am trying to get my linetypes from an old template into a different template."

ADC - Designcenter

 

 

 

>>"They text in my linetypes is SUPER small and illegible."

In the old file, or the new one?

Whatever, it has nothing to do with the ltype per se.

 

 

>>"I've checked.."

Share a sample .dwg and if possible. A sample of "how it should looks like"

 

Sebastian

0 Likes