C3D-0528 · Move top-left OLE frame up with its group (22 sheets) [C3D-0529] done
Move the top-left OLE frame + line (23880/23881 on 22X17 (2), 238AA/238AB on COVER (22)) up 6in to stay in the top-left corner.
C# payload
int n=0;
foreach(string hs in new[]{"23880","23881","238AA","238AB"}){ var h=new Handle(Convert.ToInt64(hs,16)); ObjectId id; if(!Db.TryGetObjectId(h,out id)||id.IsNull) continue; var e=(Autodesk.AutoCAD.DatabaseServices.Entity)Tx.GetObject(id,OpenMode.ForWrite); e.TransformBy(Matrix3d.Displacement(new Vector3d(0,6,0))); var x=e.GeometricExtents; Log(hs+" "+e.GetType().Name+" now "+x.MinPoint.X.ToString("F2")+","+x.MinPoint.Y.ToString("F2")+" -> "+x.MaxPoint.X.ToString("F2")+","+x.MaxPoint.Y.ToString("F2")); n++; }
Log("moved "+n);
Ed.Regen();
Result
Log
23880 Line now -0.03,14.49 -> 2.50,14.49 23881 Ole2Frame now -0.03,14.49 -> 2.50,17.02 238AA Line now -0.03,14.49 -> 2.50,14.49 238AB Ole2Frame now -0.03,14.49 -> 2.50,17.02 moved 4
Notes
What worked, what didn't, job-specific gotchas — flagged notes feed the recipes.
No notes yet.