← Inbox

C3DO-0904 · 261101: read raster image defs + embed backup (read-only) [C3D-RDEF1101] done

Read-only: image dictionary entries with their file paths, and whether the C3D_VICINITY_EMBED backup exists.

Script file
C3DO-0904.cs
Target
261101 - 5491 Roswell Rd NE R2-C3DCP.dwg · model space
Author
claude
Approved
yes · read-only
Timeout
60s

C# payload

var dict=RasterImageDef.GetImageDictionary(Db);
if(dict.IsNull){ Log("no image dictionary"); }
else { var d=(DBDictionary)Tx.GetObject(dict,OpenMode.ForRead); foreach(DBDictionaryEntry e in d){ var def=(RasterImageDef)Tx.GetObject(e.Value,OpenMode.ForRead); Log("IMAGEDEF "+e.Key+" src="+def.SourceFileName+" active="+def.ActiveFileName+" loaded="+def.IsLoaded); } }
var nod=(DBDictionary)Tx.GetObject(Db.NamedObjectsDictionaryId,OpenMode.ForRead);
Log("NOD C3D_VICINITY_EMBED present="+nod.Contains("C3D_VICINITY_EMBED"));

Result

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

Log

IMAGEDEF 261101-vicinity src=C:\Users\sanja\OneDrive\_SurveyDisco\261101 - Project\261101-vicinity.png active= loaded=False
NOD C3D_VICINITY_EMBED present=False

Notes

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

No notes yet.