CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 11372

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.

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:


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    51022×  

See also:
Tip 14039:How to display the total volume or surface of 3D solids in DWG?
Tip 13878:SelectSimilar - extended selections for AutoCAD, incl. LT and Web versions
Tip 13858:Is there also a SETBYBLOCK command?
Tip 13450:How to create a complex line type with text always upside down?
Tip 13435:Bulk setting of layer properties according to the object in that layer.


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   



Featuring:
Increase your productivity with our set of add-on functions for AutoCAD Civil 3D
CADstudio Civil 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.
TOPlist