LSP · v0.2 · Experimental
CREATETOOLS
Create service-text linetypes and static hatch-area labels.
- Runs on
- AutoCAD · Windows
- Commands
- CREATETOOLS
- Author
- Myo Myint Maung
How to use
- 01
Download and load
APPLOAD CREATETOOLS.lsp; type CREATETOOLS and choose 1 or 2.
- 02
Choose a function
For linetypes, use a zero-height text style, supply the service text/pattern settings and save a new .lin file. Optionally load it; test on a line and tune LTSCALE/spacing.
- 03
Review and check
For areas, select hatches, declare the correct source length units and place each label. Labels use current layer and text style.
Functions and explanation
| Function | What it does |
|---|---|
| 1 — Create service text linetype | Generate a LIN definition containing custom service text with Dash, Dot or DashDot pattern. Set name, text height, dash length and text spacing; save a LIN file and optionally load it into the drawing. |
| 2 — Label hatch areas | Read selected hatch areas and place TEXT labels in square metres. Choose drawing units (millimetres, metres, feet or inches), height, 0–8 decimal places and a location for each label; Enter skips a hatch. |
Limits and responsible use
- Saving a LIN file replaces its entire contents after confirmation if it already exists; the disk write is not reversed by drawing UNDO.
- Existing loaded linetype names are not silently reloaded; use LINETYPE deliberately.
- Linetype names allow letters/numbers/underscore; unsupported punctuation in service text/style is rejected.
- Area labels are static snapshots, not associative fields, and do not update when hatch geometry changes. Unit selection must match the drawing.
- Esc may leave completed drawing edits. Not executed in AutoCAD.
Test on a drawing copy first
Static source review only. This uploaded version has not been executed inside AutoCAD here. Use Windows AutoCAD with Visual LISP/ActiveX; other hosts and platforms are not verified. Keep a backup and check results before project use.
The download preserves the original uploaded file bytes. Published 31 Oct 2026.