Fesh.AutoCAD is an F# scripting editor hosted inside AutoCAD. It is based on Fesh.
It has semantic syntax highlighting, auto completion, type info tooltips and more.
The output window supports colored text.
The example script in the root folder generates the axes for cladding of the Louvre Abu Dhabi.
See also my talk at FSharpConf 2016
Download and run the Setup.exe from Releases.
Use the .NET 8 version if you have AutoCAD 2025 or later.
Use the .NET 4.8 version if you have AutoCAD 2024 or earlier.
Fesh.AutoCAD will automatically offer to update itself when a new version is available.
The installer is created with Velopack and digitally signed.
No admin rights are required to install or run the app.
The app will be installed in \AppData\Local\Fesh.AutoCAD
.
Setup will launch the Fesh.AutoCAD.Bootstrapper.exe
. It will register the Fesh.AutoCAD.dll
with AutoCAD
by creating an Fesh.AutoCAD.addin
xml file in the AutoCAD Addins folder at C:/ProgramData/Autodesk/AutoCAD/Addins/20XX/Fesh.AutoCAD.addin
.
By default a f# script evaluation starts asynchronous on a new thread. The Fesh.AutoCAD.dll
also provides utility functions to run synchronous transaction on the current document or app instance:
Fesh.AutoCAD.ScriptingSyntax.runApp (fun (app:UIApplication) -> ...)
For changes in each release see the CHANGELOG.md
Fesh is licensed under the MIT License.