C3D-0016 · Read points 378 and 675 [TIE-PTS] done
Read-only: coordinates and descriptions for points 378 and 675, to compute the tie bearing and distance.
C# payload
// READ-ONLY: points 378 and 675 - coordinates and descriptions, for the tie line.
var cd = CivilDoc;
foreach (ObjectId id in cd.CogoPoints) {
var cp = Tx.GetObject(id, OpenMode.ForRead) as CogoPoint;
if (cp == null) continue;
if (cp.PointNumber != 378 && cp.PointNumber != 675) continue;
Log("pt " + cp.PointNumber + " E=" + cp.Easting.ToString("F3") + " N=" + cp.Northing.ToString("F3") +
" Z=" + cp.Elevation.ToString("F2") + " '" + (cp.RawDescription ?? "") + "' layer='" + cp.Layer + "'");
}
Result
Log
pt 378 E=2296827.248 N=1280095.994 Z=724.78 'SSMH A6' layer='SEWER_MANHOLE' pt 675 E=2303522.780 N=1273042.370 Z=826.24 'HC07-06' layer='0'
Notes
What worked, what didn't, job-specific gotchas — flagged notes feed the recipes.
No notes yet.