C3D-0469 · List layouts + entity counts 260904 (read-only) done
Check whether 22X17 layout was created and how many entities it holds.
C# payload
var lm=(DBDictionary)Tx.GetObject(Db.LayoutDictionaryId,OpenMode.ForRead);
foreach(System.Collections.DictionaryEntry de in lm){ var lay=(Layout)Tx.GetObject((ObjectId)de.Value,OpenMode.ForRead); var ps=(BlockTableRecord)Tx.GetObject(lay.BlockTableRecordId,OpenMode.ForRead); int n=0; foreach(ObjectId e in ps) n++; Log(de.Key+" entities="+n); }
Result
Log
09 entities=267 11X17 entities=268 Model entities=2959 R4 entities=267
Notes
What worked, what didn't, job-specific gotchas — flagged notes feed the recipes.
No notes yet.