TheSwamp
CAD Forums => CAD General => Topic started by: nobody on November 22, 2016, 12:30:47 AM
-
What is simplest way to make custom linetypes? Are there better methods than manually creating/entering info into a .lin file?
-
Here's a favorite of mine (http://www.theswamp.org/index.php?topic=21339.msg258481#msg258481). :)
-
Thank you, will give that a shot :-D
-
HERE (https://www.theswamp.org/index.php?topic=47058.msg520876#msg520876) is the latest version of that code ... quite a few more options. 8)
-
@ronjonp:
Just a hint: Reading your code I see that you are using X=0 and unequal text gaps to position the text. This works fine for straight line segments, but not for long texts in tight curves.
-
@ronjonp:
Just a hint: Reading your code I see that you are using X=0 and unequal text gaps to position the text. This works fine for straight line segments, but not for long texts in tight curves.
How would you solve this ? I've never gotten long text to look pretty on curves.
-
You are right: long texts do not look good on curves. But using equal text gaps is better.
Note that some people on the Autodesk team do not seem to know this either (https://knowledge.autodesk.com/support/autocad-lt/learn-explore/caas/CloudHelp/cloudhelp/2016/ENU/AutoCAD-LT/files/GUID-FEDCE7EB-4919-43AE-A54E-F3A293DD60CA-htm.html). :-D
*BAD, Gaps not equal
A,10,-1,["TestTestTest",STANDARD,S=2,R=0,X=0,Y=-],-17
*BETTER, Gaps equal
A,10,-9,["TestTestTest",STANDARD,S=2,R=0,X=-8,Y=-],-9
-
Thanks for taking the time to look at this Roy. I've updated the code HERE (https://www.theswamp.org/index.php?topic=47058.msg520876#msg520876).