CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
New CADforum look launched.
Over 1.090.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new Engineering calculator. New AutoCAD 2026 commands and variables.
Plex.Earth connects AutoCAD and Google Earth

CAD tip CAD tip # 7147:

Question

CAD 
 %  platform  category 
A
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.

Since version 1.6 you can use the dialog version LTFLY or the older text version -LTFLY.


LTfly

Compare the pink linetype using segmented text ("W A T E R") with the yellow, one-word type or the light green, three-word type - especially in arcs:


Video - loading and basic usage:


Video - using LTFly:


Please note there could be a maximum of 12 code groups in the linetype definition so if the definition file fails to load, it is probably cased by this.

You can download the free LTfly utility from Download

Use (setq _LTFLY_DoNotUseU T) to avoid absolute alignments.

LTfly works also in AutoCAD LT (2024, 2025 and higher).

ACADADTACADMCivilMapACLT
100% *CAD
8.1.2010    56025×  

See also:
Tip 14446:Undocumented options in AutoCAD FIELDs - hyperlinks, hexadecimal or binary format
Tip 14386:Visual catalog of blocks defined in a DWG drawing.
Tip 14230:How to transfer layer properties from another DWG drawing?
Tip 14223:Arithmetic operations for renaming blocks, levels, layouts...
Tip 14154:How to add directional arrows to 3D polyline linetype and to spline?


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
  



Featuring:
Add .CIT raster format support to AutoCAD and Map and Civil 3D
CITin More info


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