Community
Civil 3D Customization
Welcome to Autodesk’s AutoCAD Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D Customization topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Custom Linetype Location

9 REPLIES 9
SOLVED
Reply
Message 1 of 10
YPerez
1108 Views, 9 Replies

Custom Linetype Location

I created two custom linetypes and added them to one of my drawings. With time, i lost the .lin files for those linetypes, they are still loaded into my drawings, but now i can not find a way to edit them. I need to know if Autocad stores these custom files anywhere once they have been uploaded to the drawing, and if so, where are they stored.

Thanks

Custom Linetype.PNG

9 REPLIES 9
Message 2 of 10
tyronebk
in reply to: YPerez

I would check out new-lin.lsp or to-lin.lsp made available by Tee Square Graphics. Either will recreate the linetype definition for a linetype. Note that the newlt.lin files created by either of these routines seem to get dumped into the user documents folder.

Message 3 of 10
YPerez
in reply to: tyronebk

Thank you tyronebk, i will try it out. Smiley Wink

Message 4 of 10
john.uhden
in reply to: YPerez

I have a WLTYPES.lsp program that will write linetype definitions from a drawing to a .LIN file of your choice.  I would have to redact it to remove security.  Want me to post it?

John F. Uhden

Message 5 of 10
YPerez
in reply to: john.uhden

It's ok, is an easy enough linetype that I can just recreate it, i just wanted to know if the program stored them somewhere for me to grab it. 

Thank you!!

Message 6 of 10
john.uhden
in reply to: YPerez

Once the linetype definition is loaded or created in a dwg, that's where
its definition remains. That's why I wrote WLTYPES... to get a definition
from a dwg to a .LIN file where it can be loaded into other dwgs,
especially on a network so that it is accessible by many other users.
AutoCAD does not automatically do that.

John F. Uhden

Message 7 of 10
Anonymous
in reply to: john.uhden

Hi John,

Your lisp routine sounds very useful for my needs.  Would you mind posting it?

Message 8 of 10
john.uhden
in reply to: Anonymous

I removed the security, but haven't tested it afterward.  Let me know of any problems.

 

 

John F. Uhden

Message 9 of 10
Anonymous
in reply to: john.uhden

You're the man, thanks!  It appears to be working okay.  

Message 10 of 10
john.uhden
in reply to: Anonymous

Well, when you are sure that it is, please "accept the solution."

John F. Uhden

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report