CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 2418 

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.

LTfly

Video - using LTFly:

You can download the free LTfly utility from www.cadstudio.cz/download

Use (setq _LTFLY_DoNotUseU T) to avoid absolute alignments.

ACADADTACADMCivilMap
100% *  CAD 
8.1.2010    20049×  

See also:
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.
Tip 12097:How to display complex linetypes on 3D polylines?
Tip 11967:How to apply a changed drawing template (DWT) to existing drawings?


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   



Featuring:
Link your AutoCAD block attributes with Excel tables/sheets. Automatically. Dynamically. Bidirectionally.
Try Excellink 2015 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.
TOPlist