C3D-0479 · Read V-WALK polys with bulges 260904 (read-only) [C3D-0481] done
Dump both V-WALK polylines with bulges to plan a merge that keeps arcs.
C# payload
var ms=(BlockTableRecord)Tx.GetObject(SymbolUtilityServices.GetBlockModelSpaceId(Db),OpenMode.ForRead);
foreach(ObjectId eid in ms){ var pl=Tx.GetObject(eid,OpenMode.ForRead) as Polyline; if(pl==null||pl.Layer!="V-WALK") continue; var sb=new System.Text.StringBuilder("WALK h="+pl.Handle+" v="+pl.NumberOfVertices+" closed="+pl.Closed+" | "); for(int i=0;i<pl.NumberOfVertices;i++){var p=pl.GetPoint2dAt(i); sb.Append(p.X.ToString("F2")+","+p.Y.ToString("F2")+"(b"+pl.GetBulgeAt(i).ToString("F3")+") ");} Log(sb.ToString()); }
Result
Log
WALK h=21073 v=9 closed=True | 2152764.35,1430377.38(b0.000) 2152771.60,1430378.56(b0.000) 2152773.87,1430379.49(b0.000) 2152774.40,1430380.97(b0.000) 2152774.02,1430384.49(b0.000) 2152768.89,1430385.32(b0.000) 2152768.61,1430383.90(b0.000) 2152767.90,1430383.19(b0.000) 2152763.61,1430382.31(b0.000)
Notes
What worked, what didn't, job-specific gotchas — flagged notes feed the recipes.
No notes yet.