← Inbox

C3D-0685 · C3D-33 read-only check on Civil 3D 2027 done

Read-only: logs the drawing name, layer count, COGO point count, AutoCAD version and .NET runtime. Changes nothing. Tests the 2027 plugin end to end.

Script file
C3D-0685.cs
Target
260714 - 285 Huckaby Rd 22x17.dwg · model space
Author
claude
Approved
yes · auto-auth
Timeout
60s

C# payload

// C3D-33 acceptance: read-only. Reads names and counts, changes nothing.
Log("drawing: " + Doc.Name);
var lt = (LayerTable)Tx.GetObject(Db.LayerTableId, OpenMode.ForRead);
int layers = 0;
foreach (ObjectId layerId in lt) layers++;
Log("layers: " + layers);
Log("cogo points: " + (int)CivilDoc.CogoPoints.Count);
Log("acad version: " + Autodesk.AutoCAD.ApplicationServices.Application.Version);
Log(".NET runtime: " + Environment.Version);

Result

Status
success
Drawing file
C:\Users\sanja\OneDrive\_SurveyDisco\260714 - 285 Huckaby Rd, Brooks, GA 30205, USA\260714 - 285 Huckaby Rd 22x17.dwg
Message
Executed C3D-0685 (0 entities touched).
Entities
—
Duration
13329 ms
Civil 3D
26.0.0.0

Log

drawing: C:\Users\sanja\OneDrive\_SurveyDisco\260714 - 285 Huckaby Rd, Brooks, GA 30205, USA\260714 - 285 Huckaby Rd 22x17.dwg
layers: 352
cogo points: 202
acad version: 26.0.0.0
.NET runtime: 10.0.14

Notes

What worked, what didn't, job-specific gotchas — flagged notes feed the recipes.

No notes yet.