← Inbox

C3D-0504 · Dump house-corner candidates 812 Christmas (read-only) [C3D-0505] done

List HC/PORCH/BLDG/HOUSE corner points to assemble the single building poly.

Script file
C3D-0504.cs
Target
812 Christmas Ave.dwg · model space
Author
claude
Approved
yes · auto-auth
Timeout
60s

C# payload


var cd=CivilDoc; var pts=cd.CogoPoints; int n=0;
foreach(ObjectId pid in pts){ var p=(Autodesk.Civil.DatabaseServices.CogoPoint)Tx.GetObject(pid,OpenMode.ForRead); string d=p.RawDescription.ToUpper(); if(d.Contains("HC")||d.Contains("PORCH")||d.Contains("BLDG")||d.Contains("HOUSE")||d.Contains("CONC")&&d.Contains("COR")){ Log(p.PointNumber+" E="+p.Easting.ToString("F3")+" N="+p.Northing.ToString("F3")+" \""+p.RawDescription+"\""); n++; } }
Log("candidates="+n);

Result

Status
success
Drawing file
C:\Users\sanja\OneDrive\_SurveyDisco\260903 - 812 Christmas Ave, Bethlehem, GA 30620, USA\812 Christmas Ave.dwg
Message
Executed C3D-0504 (0 entities touched).
Entities
Duration
864 ms
Civil 3D
25.0.0.0

Log

600 E=2434174.310 N=1429371.460 "HC"
601 E=2434164.300 N=1429374.844 "PORCH COR"
606 E=2434170.695 N=1429411.740 "PORCH COR"
611 E=2434194.571 N=1429406.941 "PORCH COR"
612 E=2434193.937 N=1429409.540 "HC"
613 E=2434227.657 N=1429362.235 "HC"
614 E=2434239.278 N=1429359.884 "PORCH COR"
615 E=2434234.768 N=1429402.036 "HC PORCH COR"
candidates=8

Notes

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

No notes yet.