← Inbox

C3D-0662 · 261009 read: drawing path + vicinity raster defs (read-only) [C3D-RDRAS] done

Read-only: Db.Filename and the two vicinity-map RasterImage defs, before swapping in the 261009 vicinity map.

Script file
C3D-0662.cs
Target
261009 - 510 Covington Cove.dwg · model space
Author
claude
Approved
yes · auto-auth
Timeout
60s

C# payload

Log("dwg="+Db.Filename);
foreach(var hs in new[]{"210BE","216AB"}){ ObjectId id; if(!Db.TryGetObjectId(new Handle(Convert.ToInt64(hs,16)),out id)) { Log(hs+" missing"); continue; }
 var r=(RasterImage)Tx.GetObject(id,OpenMode.ForRead); var d=(RasterImageDef)Tx.GetObject(r.ImageDefId,OpenMode.ForRead);
 Log(hs+" def="+d.Handle+" src='"+d.SourceFileName+"' active='"+d.ActiveFileName+"' loaded="+d.IsLoaded+" size="+d.Size.X+"x"+d.Size.Y+" orient o="+r.Orientation.Origin+" x="+r.Orientation.Xaxis+" y="+r.Orientation.Yaxis); }

Result

Status
success
Drawing file
C:\Users\sanja\OneDrive\_SurveyDisco\261009 - 510 Covington Cove, Byron, GA 31008, USA\261009 - 510 Covington Cove.dwg
Message
Executed C3D-0662 (0 entities touched).
Entities
—
Duration
427 ms
Civil 3D
25.0.0.0

Log

dwg=C:\Users\sanja\OneDrive\_SurveyDisco\261009 - 510 Covington Cove, Byron, GA 31008, USA\261009 - 510 Covington Cove.dwg
210BE def=210BD src='C:\Users\sanja\OneDrive\_SurveyDisco\261003 - 236 Pinewood Trail, Dawsonville, GA 30534, USA\261003-vicinity.png' active='C:\Users\sanja\OneDrive\_SurveyDisco\261003 - 236 Pinewood Trail, Dawsonville, GA 30534, USA\261003-vicinity.png' loaded=True size=1280x1280 orient o=(0.658,3.52,0) x=(2.3,0,0) y=(0,2.3,0)
216AB def=210BD src='C:\Users\sanja\OneDrive\_SurveyDisco\261003 - 236 Pinewood Trail, Dawsonville, GA 30534, USA\261003-vicinity.png' active='C:\Users\sanja\OneDrive\_SurveyDisco\261003 - 236 Pinewood Trail, Dawsonville, GA 30534, USA\261003-vicinity.png' loaded=True size=1280x1280 orient o=(0.658,3.52,0) x=(2.3,0,0) y=(0,2.3,0)

Notes

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

No notes yet.