CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
Cesky English Deutsch
 Visitors: 1725 

CAD tip CAD tip # 7481:

Question CAD 
 %  platform  category 
Q - question

Dotted and arrow linetypes.

A - answer 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:

Text/symbol linetypes

The definitions of the displayed linetypes follow (metric units):
*DOTS,Dots .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  
*DOTS1,Dots1 .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 
*ARROW,Arrow1  >  >  >  >  >  >  >  

You can also download it HERE

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).

100% *  CAD 
28.7.2010    43670×  
Prices - CAD eShop:
applies to: AutoCAD · AutoCAD LT ·

See also:
Tip 12475:Mysterious text rotation when editing.
Tip 11967:How to apply a changed drawing template (DWT) to existing drawings?
Tip 11788:Invalid number or bad continuation - when creating a linetype.
Tip 11751:toMulti converts polylines to multi-lines driven by a definition table.
Tip 11564:Avoid name collisions between AutoCAD font- and symbol files (SHX).

Back   All CAD Tips All CAD tips&tricks

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: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   

Increase your productivity with our set of BIM add-on functions for Autodesk Revit
CADstudio Revit Tools More info

Please use these tips at your own risk.
CAD Studio is not responsible for possible problems that may occur as a result of using any of these tips.