C3D-A1FIX · Update A-1 label: rim 687.07, inverts 672.36/672.43 done
7012 rim changed in worksheet. R/INV IN/INV OUT lines updated by handle; everything else verified matching.
C# payload
// Update SSMH A-1 label only (7012 rim changed 687.27 -> 687.07 in the worksheet):
// R 687.27 -> R 687.07 (handle B1)
// INV IN 672.56 -> INV IN 672.36 (handle B2)
// INV OUT 672.63 -> INV OUT 672.43 (handle 198B)
// All other labels verified matching — untouched.
using System;
using Autodesk.AutoCAD.DatabaseServices;
void Set(string h, string expect, string s)
{
var id = Db.GetObjectId(false, new Handle(Convert.ToInt64(h, 16)), 0);
var t = (DBText)Tx.GetObject(id, OpenMode.ForWrite);
Log($" h={h} '{t.TextString}' -> '{s}'{(t.TextString == expect ? "" : " (NOTE: prior text differed from expected '" + expect + "')")}");
t.TextString = s;
}
Log("== SSMH A-1 (7012) ==");
Set("B1", "R 687.27", "R 687.07");
Set("B2", "INV IN 672.56", "INV IN 672.36");
Set("198B", "INV OUT 672.63", "INV OUT 672.43");
Log("DONE.");
Result
Log
== SSMH A-1 (7012) == h=B1 'R 687.27' -> 'R 687.07' h=B2 'INV IN 672.56' -> 'INV IN 672.36' h=198B 'INV OUT 672.63' -> 'INV OUT 672.43' DONE.
Notes
What worked, what didn't, job-specific gotchas — flagged notes feed the recipes.
No notes yet.