FM2 LISP: Feet-Inch Text to Metre Converter (Free AutoLISP Download)
FM2 scans selected TEXT or MTEXT entities written in feet-and-inches notation (90' 20") and creates a new text entity next to each one showing the equivalent value in metres. The original text is left untouched, so you can visually compare before and after.
FT2M-bgol (Feet-Inch Text to Metre Converter)
Command Type: AutoLISP routine (works in AutoCAD, BricsCAD, ZWCAD and most AutoLISP-compatible CAD platforms)
Developed by: BGol Community, bgol.in
Inspired by the general concept of feet-inch-to-metre text converters used in survey/civil drafting. This is an original, independently written routine, new file name, new command name, new source code, created so the CAD community has a free, editable, open-source alternative.
Overview
FM2 scans selected TEXT or MTEXT entities written in feet-and-inches notation (90' 20") and creates a new text entity next to each one showing the equivalent value in metres. The original text is left untouched, so you can visually compare before and after.
How to Use
- Load
FT2M-bgol.lspinto your CAD session (drag-and-drop the file onto the drawing window, or use theAPPLOADcommand). - Type
FM2at the command line and press Enter. - Select one or more TEXT/MTEXT entities formatted exactly as
, for example' " 1523' 6". - Press Enter to finish selection.
- A new text entity is created at the same insertion point showing the converted value, e.g.
1523' 6"โ464.363 m. - Converted text is placed on a dedicated layer,
BGOL-M2FT(colour magenta), so it's easy to tell apart from the original values.
Why Use It
- Converts many feet-inch labels to metric in one command run instead of manual arithmetic and retyping.
- Strict
ft' in"input pattern avoids ambiguous parsing. - Keeps the original text in place, so the converted labels sit right next to their source for easy checking.
- Dedicated colour/layer makes converted values easy to spot at a glance.
Where to Use It
- Projects mixing Imperial (feet/inches) and metric drawing standards.
- Coordinating between US/UK-influenced survey data and metric-standard drawings on shared infrastructure projects.
- Cleaning up legacy drawings before standardizing on metric units.
Notes
- Only text strictly formatted as
feet' inches"is converted; anything else is skipped and reported in the command-line log. - Source code is fully open, feel free to study, modify, and redistribute it under the same open, free-for-all spirit.
Credits
Developed and shared for the CAD community by BGol Community. Website: https://bgol.in/ Free and open-source, use it, modify it, share it, for personal or commercial work alike.
Frequently Asked Questions
FM2 is a standard AutoLISP routine, so it runs in AutoCAD, BricsCAD, ZWCAD, and most other AutoLISP-compatible CAD platforms without modification.
Only text strictly formatted as feet' inches" is converted; anything else is skipped and reported in the command-line log.
Converts many feet-inch labels to metric in one command run instead of manual arithmetic and retyping.
Yes. FM2 is fully open-source and free to use, modify, and redistribute for both personal and commercial work, developed and shared by the BGol Community.
Drag and drop FT2M-bgol.lsp onto your open drawing window, or load it through the APPLOAD command, then type FM2 at the command line to run it.
๐ค About BGol Community
BGol Community of Advanced Surveying builds and shares free, open-source tools for the survey and CAD drafting community.
๐ Made with โค๏ธ by BGol Community of Advanced Surveying
Free, open-source, and built for the CAD community, for personal or commercial use, always.