C3D-PT506 · Read pts 506/508/510 done
check
C# payload
// Read-only: dump points 506, 508, 510 with coords + description.
var cd = CivilDoc; var cps = cd.CogoPoints;
foreach (ObjectId id in cps) {
var cp = (Autodesk.Civil.DatabaseServices.CogoPoint)Tx.GetObject(id, OpenMode.ForRead);
if (cp.PointNumber==506 || cp.PointNumber==508 || cp.PointNumber==510)
Log($"#{cp.PointNumber} '{cp.RawDescription}' N={cp.Northing:F4} E={cp.Easting:F4} Z={cp.Elevation:F4}");
}
Result
Log
#506 'IPF 1 IN CTP' N=1330757.4047 E=2166529.8491 Z=873.2101 #508 '' N=1330090.8776 E=2166393.4961 Z=873.2936 #510 '' N=1330759.6919 E=2166424.9203 Z=869.4413
Notes
What worked, what didn't, job-specific gotchas — flagged notes feed the recipes.
No notes yet.