CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
CZ | EN | DE
Login or
  Visitors: 3122

CAD tip CAD tip # 7147:

Question CAD 
 %  platform  category 
Q - question

Create AutoCAD complex linetypes on the fly - LTfly.

A - answer With the CADstudio LTFly LISP utility you can generate AutoCAD linetypes with embedded text on the fly, in a single prompt. Make linetypes like "WATER", "OPTICAL", "ADSL", etc.

Just start LTFly with the LTFLY command and type the desired text or special character(s). The new linetype containing your text string will be created automatically and you can immediately use it in the current drawing.

The embedded text will use the current text style so make sure the same text style is available in other drawings if you want to use this linetype definition there. You can export the .LIN definition (file) using the LinOut utility.

The newly created linetype is named accordingly to the embedded string. If this name cannot be used (special characters), a random name combined with your username will be applied.

Since version 1.3 you can also create linetypes with multiple texts (individual words) - just enter dot "." on the first prompt.

Since version 1.4. you can use the following options for multi-segment texts (e.g. per characters): "-" (with line segments), "." (with dots) or "," (just spacing between characters/segments). So you can better follow arc segments.

Since version 1.5 you can also create linetypes with texts containing double-quotes, like 1/2" WATER.


Video - using LTFly:

You can download the free LTfly utility from Download

Use (setq _LTFLY_DoNotUseU T) to avoid absolute alignments.

100% *  CAD 
8.1.2010    23523×  

See also:
Tip 12837:RenameCSV - rename layers, blocks, layouts, views, linetypes using Excel tables
Tip 12755:How to create a polyline with multi-colored segments?
Tip 12475:Mysterious text rotation when editing.
Tip 12392:Export unfolds of sheetmetal parts to DXF - parameters for iLogic and VBA
Tip 12279:PropByLayer - an inverse function to SetByLayer.

Back   All CAD Tips

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   

Use Google Earth images in your AutoCAD projects with the Plex.Earth Tools More info

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