C3DO-0721 · 261101 redline fixes after plot review done
From reviewing the plot: the 1.027 AC text sat on a title block cell line - moved up into the LAND LOT row; the IPF 1" OTP callout at point 330 was crossed by the 16.91' dimension extension line - moved to the left of the point.
C# payload
var ld=(DBDictionary)Tx.GetObject(Db.LayoutDictionaryId,OpenMode.ForRead);
var ps=(BlockTableRecord)Tx.GetObject(((Layout)Tx.GetObject(ld.GetAt("11X17"),OpenMode.ForRead)).BlockTableRecordId,OpenMode.ForRead);
foreach(ObjectId id in ps){ var t=Tx.GetObject(id,OpenMode.ForRead) as DBText; if(t==null||!t.TextString.StartsWith("1.027 AC")) continue;
t.UpgradeOpen(); var p0=t.Position; t.Position=new Point3d(p0.X,1.89,0); var ex=t.GeometricExtents;
Log("acreage text moved off the cell line into the LAND LOT row: y "+p0.Y.ToString("F2")+" -> "+t.Position.Y.ToString("F2")+" (extents y "+ex.MinPoint.Y.ToString("F2")+"-"+ex.MaxPoint.Y.ToString("F2")+")"); }
var ms=(BlockTableRecord)Tx.GetObject(SymbolUtilityServices.GetBlockModelSpaceId(Db),OpenMode.ForRead);
foreach(ObjectId id in ms){ var m=Tx.GetObject(id,OpenMode.ForRead) as MText; if(m==null||m.Contents!="IPF 1\" OTP") continue;
m.UpgradeOpen(); m.Attachment=AttachmentPoint.MiddleRight; m.Location=new Point3d(2232593.0,1420460.0,0);
Log("IPF 1\" OTP callout moved left of point 330, off the 16.91' dimension extension line ["+m.Handle+"]"); }
Ed.Regen();
Result
Log
acreage text moved off the cell line into the LAND LOT row: y 1.78 -> 1.89 (extents y 1.86-2.01) IPF 1" OTP callout moved left of point 330, off the 16.91' dimension extension line [2148F]
Notes
What worked, what didn't, job-specific gotchas — flagged notes feed the recipes.
No notes yet.