← Inbox

C3D-0510 · Read boundary bulges 812 Christmas (read-only) done

Dump boundary vertices with bulges to find the curved Christmas Ave frontage.

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

C# payload


Handle h=new Handle(Convert.ToInt64("224D0",16));
ObjectId id; if(!Db.TryGetObjectId(h,out id)||id.IsNull){ Log("no boundary"); return; }
var pl=(Polyline)Tx.GetObject(id,OpenMode.ForRead);
for(int i=0;i<pl.NumberOfVertices;i++){ var p=pl.GetPoint2dAt(i); Log("v"+i+" "+p.X.ToString("F3")+","+p.Y.ToString("F3")+" bulge="+pl.GetBulgeAt(i).ToString("F5")); }
Log("closed="+pl.Closed);

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-0510 (0 entities touched).
Entities
—
Duration
384 ms
Civil 3D
25.0.0.0

Log

v0 2433999.036,1429659.230 bulge=0.00000
v1 2434103.611,1429583.311 bulge=0.00000
v2 2434262.337,1429467.170 bulge=0.00000
v3 2434330.302,1429469.349 bulge=0.00000
v4 2434302.230,1429195.975 bulge=0.00000
v5 2433936.837,1429308.964 bulge=0.04617
closed=True

Notes

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

No notes yet.