← Inbox

C3D-0489 · Redline #9: relabel R/W to VARIABLE PUBLIC [C3D-0491] done

Change W Sandtown Rd R/W label from 60 R/W to VARIABLE PUBLIC R/W per recorded plat.

Script file
C3D-0489.cs
Target
260904 - 920 W Sandtown Rd SW.dwg · model space
Author
claude
Approved
yes · auto-auth
Timeout
60s

C# payload


Handle h=new Handle(Convert.ToInt64("21152",16));
ObjectId id; if(!Db.TryGetObjectId(h,out id)||id.IsNull){ Log("not found"); return; }
var m=(MText)Tx.GetObject(id,OpenMode.ForWrite);
string old=m.Contents;
string neu=old.Replace("60' R/W","VARIABLE PUBLIC R/W");
m.Contents=neu;
Log("R/W: '"+old+"' -> '"+m.Contents+"'");
Ed.Regen();

Result

Status
success
Drawing file
C:\Users\sanja\OneDrive\_SurveyDisco\260904 - 920 W Sandtown Rd SW, Marietta, GA 30064, USA\260904 - 920 W Sandtown Rd SW.dwg
Message
Executed C3D-0489 (0 entities touched).
Entities
Duration
542 ms
Civil 3D
25.0.0.0

Log

R/W: '{\fSimplex|b0|i1|c0|p2;W SANDTOWN RD SW\P    60' R/W}' -> '{\fSimplex|b0|i1|c0|p2;W SANDTOWN RD SW\P    VARIABLE PUBLIC R/W}'

Notes

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

No notes yet.