Civil 3D bridge
Run one command. Get a JSON the web app can read.
The script extracts vertices, arc bulges, drawing metadata, and nearby description text — exactly what LegalWriter needs.
File
LegalExport.lsp
~5 KB · plain text AutoLISP
- 01
1. Download the script
Save LegalExport.lsp anywhere on your machine. Works in AutoCAD 2018+, Civil 3D 2018+, and BricsCAD V20+.
- 02
2. Load it in Civil 3D
Type APPLOAD in the command line, browse to LegalExport.lsp, and click Load. To make it load on every drawing, add it to the Startup Suite in the same dialog.
- 03
3. Run LEGALEXPORT
Type LEGALEXPORT. Pick your boundary polyline, optionally a commencement path, accept the default search radius, and choose where to save the JSON file (e.g. parcel01.json).
- 04
4. Upload to the Generator
Open the Generator page, click Upload JSON, and pick the file you just saved. The legal description renders instantly with closure check.
JSON shape
{
"version": 1,
"dwgName": "PARCEL01.dwg",
"units": "Feet",
"boundary": [
{ "type": "L", "n1": 5000, "e1": 5000, "n2": 5000, "e2": 5200, "bulge": 0 },
{ "type": "A", "n1": 4875, "e1": 5200, "n2": 4850, "e2": 5175, "bulge": -0.4142 }
],
"descriptions": [ { "n": 5000, "e": 5000, "desc": "iron pin" } ]
}