TheSwamp

CAD Forums => CAD General => Topic started by: PHX cadie on October 08, 2021, 12:17:45 PM

Title: Duplicate/modify LT definition from a file
Post by: PHX cadie on October 08, 2021, 12:17:45 PM
I have a utility survey with a 42" IRR linetype, but I need to add a missing 48" IRR (irrigation line)

I'd like to duplicate and modify the survey LT, but of course there is no .lin with the survey

Is there a way to export a LT definition?

I can create one similar, so pls dont put a lot effort in this question, just curious

(tho could be very handy  :-D )
Title: Re: Duplicate/modify LT definition from a file
Post by: tombu on October 17, 2021, 03:30:20 PM
The attached code outputs the definition of the current Linetype to the command line. Copy the definition to your .lin file and modify and rename it to 48 instead of 42. Then load it into your drawing.
Title: Re: Duplicate/modify LT definition from a file
Post by: PHX cadie on October 20, 2021, 08:04:35 PM
Thank You tombu. I don't know why this doesn't come up more often

(great naming system   :-) )