← Inbox

C3D-0021 · Read point 676 [PT-676] done

Read-only: coordinates and description for point 676.

Script file
C3D-0021.cs
Target
260612 · model space
Author
claude
Approved
yes · reviewer
Timeout
120s

C# payload

// READ-ONLY: point 676 coordinates and description, for the tie from 378.
var cd = CivilDoc;
foreach (ObjectId id in cd.CogoPoints) {
    var cp = Tx.GetObject(id, OpenMode.ForRead) as CogoPoint;
    if (cp == null || cp.PointNumber != 676) continue;
    Log("pt " + cp.PointNumber + "  E=" + cp.Easting.ToString("F3") + "  N=" + cp.Northing.ToString("F3") +
        "  Z=" + cp.Elevation.ToString("F2") + "  '" + (cp.RawDescription ?? "") + "'");
}

Result

Status
success
Drawing file
C:\Users\sanja\OneDrive\_SurveyDisco\260613 - 5030 E Lake Pkwy, Stockbridge, GA 30281, USA\260612 - CSTORE WATER ABS BOUNDARY.dwg
Message
Executed C3D-0021 (0 entities touched).
Entities
Duration
355 ms
Civil 3D
25.0.0.0

Log

pt 676  E=2294343.610  N=1269032.090  Z=870.95  'HC07-05'

Notes

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

No notes yet.