Besides the standard dashed linetypes and complex linetypes using shapes, AutoCAD allows to create custom linetypes using texts. These texts don't need to be neccessarily only letters and numbers - you can also use symbols.
Symbols are contained in most fonts and you can access them through Unicode codes. But you need to use a "rich" font containing the requested symbol. The Truetype font Arial (Arial.ttf) is one of such fonts - and Arial is the defualt font used in the predefined style "Standard" in newer versions of AutoCAD. So we can avoid referring a specific style in the linetype definition, and first of all avoid creating the specific style in all drawings which should use the newly defined linetype.
Examples of such symbol linetypes are these dotted (spotted) and arrow-type linetypes:
The definitions of the displayed linetypes follow (metric units):
You can add these definitions to your ACADISO.LIN (or ACAD.LIN) file, or you can save them to a separate LIN file. You can load a .LIN file into an AutoCAD DWG drawing with the LINETYPE command.
The spacing between symbols is controlled by the negative values in the definition. The symbol size is controlled by the linetype scale property. The small dots between symbols are neccessary as the linetype definition must start with a full line segment.
We recommend to use the "Linetype generation" property for polylines (PLINEGEN=1).
Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above).
You may also add a link to your web - like this "fan" link:
Featuring: DwgTextTranslator translates a series of drawings from one language to another using MS Access. Download a fully functional trial version.
Please use these tips at your own risk. CAD Studio (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.
CAD Forum - tips, tricks, help, how-tos and FAQ for AutoCAD, LT, Inventor, Revit, Map, Civil 3D, MapGuide, 3ds max and other Autodesk software (support by CAD Studio)