← Inbox

C3DO-0716 · 261101 redline 10,11: adjoiners, Land Lot 69/91 line, P.O.B.s done

Redline item 10: N/F labels on C-ANNO - N Steele (5505 Roswell Rd, 17 0091 LL1847, DB 9347/451), S First Multiple Listing Service (5457 Roswell Rd, 17 0091 LL0799, DB 13648/32), E Anderson (298 Tall Oaks Dr, Lot 1 PB 228/71, DB 69296/381) and Womack & Turner (307 Tall Oaks Dr, DB 57237/185). Item 11: LAND LOT LINE 69/91 along the east line; P.O.B. TRACT A at the SW corner (E R/W x Fortson/FMLS line) and P.O.B. TRACT B at tract A's SE corner, per DB 69685/361 Exh A. The commencement goes in the sheet notes order.

Script file
C3DO-0716.cs
Target
261101 - 5491 Roswell Rd NE.dwg · model space
Author
claude
Approved
yes · auto-auth
Timeout
60s

C# payload


var lt=(LayerTable)Tx.GetObject(Db.LayerTableId,OpenMode.ForRead);
var ms=(BlockTableRecord)Tx.GetObject(SymbolUtilityServices.GetBlockModelSpaceId(Db),OpenMode.ForWrite);
var tst=(TextStyleTable)Tx.GetObject(Db.TextStyleTableId,OpenMode.ForRead); var sty=tst.Has("Standard")?tst["Standard"]:Db.Textstyle;
Func<string,bool> already=(s)=>{ foreach(ObjectId id in ms){ var m=Tx.GetObject(id,OpenMode.ForRead) as MText; if(m!=null&&m.Contents==s) return true; } return false; };
Func<string,string,double,double,double,double,AttachmentPoint,double,MText> addMt=(layer,s,x,y,h,rot,att,w)=>{
  if(already(s)){ Log("  already there: "+s.Replace("\\P"," / ")); return null; }
  EnsureLayer(layer,7);
  var m=new MText(); m.SetDatabaseDefaults(); m.Layer=layer; m.TextStyleId=sty; m.TextHeight=h; m.Contents=s; m.Location=new Point3d(x,y,0); m.Rotation=rot*Math.PI/180; m.Attachment=att; if(w>0) m.Width=w;
  ms.AppendEntity(m); Tx.AddNewlyCreatedDBObject(m,true); Log("  placed '"+s.Replace("\\P"," / ")+"' ["+m.Handle+"]"); return m; };
addMt("C-ANNO","N/F CLIFFORD J. & JANE E. STEELE\\P5505 ROSWELL RD - 17 0091 LL1847\\PDB 9347/451",2232462.2017,1420655.7112,3.0,4.5319,AttachmentPoint.MiddleCenter,0);
addMt("C-ANNO","N/F FIRST MULTIPLE LISTING SERVICE, INC.\\P5457 ROSWELL RD - 17 0091 LL0799\\PDB 13648/32",2232469.9015,1420442.9282,3.0,6.7650,AttachmentPoint.MiddleCenter,0);
addMt("C-ANNO","N/F RYAN ANDERSON\\P298 TALL OAKS DR\\PLOT 1, PB 228/71\\PDB 69296/381",2232615.4200,1420612.0000,3.0,0.0000,AttachmentPoint.MiddleLeft,0);
addMt("C-ANNO","N/F TRACY M. WOMACK &\\PCHASE TURNER\\P307 TALL OAKS DR\\PDB 57237/185",2232615.4200,1420530.0000,3.0,0.0000,AttachmentPoint.MiddleLeft,0);
addMt("C-ANNO","LAND LOT LINE 69/91",2232604.9300,1420562.3450,3.0,90.3563,AttachmentPoint.MiddleCenter,0);
addMt("C-ANNO","P.O.B.\\PTRACT A",2232332.1800,1420440.2200,3.0,0,AttachmentPoint.TopRight,0);
addMt("C-ANNO","P.O.B.\\PTRACT B",2232552.7200,1420469.4300,3.0,0,AttachmentPoint.TopCenter,0);
Ed.Regen();

Result

Status
success
Drawing file
C:\Users\sanja\OneDrive\_SurveyDisco\261101 - Project\261101 - 5491 Roswell Rd NE.dwg
Message
Executed C3DO-0716 (0 entities touched).
Entities
—
Duration
496 ms
Civil 3D
25.0.0.0

Log

  placed 'N/F CLIFFORD J. & JANE E. STEELE / 5505 ROSWELL RD - 17 0091 LL1847 / DB 9347/451' [21495]
  placed 'N/F FIRST MULTIPLE LISTING SERVICE, INC. / 5457 ROSWELL RD - 17 0091 LL0799 / DB 13648/32' [21496]
  placed 'N/F RYAN ANDERSON / 298 TALL OAKS DR / LOT 1, PB 228/71 / DB 69296/381' [21497]
  placed 'N/F TRACY M. WOMACK & / CHASE TURNER / 307 TALL OAKS DR / DB 57237/185' [21498]
  placed 'LAND LOT LINE 69/91' [21499]
  placed 'P.O.B. / TRACT A' [2149A]
  placed 'P.O.B. / TRACT B' [2149B]

Notes

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

No notes yet.