So, I am moving my code over to VB.NET finally, and I am understanding the syntax and making decent progress. I literally have the ENTIRE thing working in VB.NET, as crazy as that seems, EXCEPT the part that I originally didn't know how to do (lol).
Edit: So, I see what ObjectBrowser does, and how it theoretically helps. However, I am opening the "database" (which I believe to be what "lazy-loads" the .dwg file) using:
Code:
Using AcadDbx As New Database(False, True)
So, I would expect that I would do things like acaddbx.blocktablerecord.getblockreferenceIds() would work, but the "database" loading makes the AcadDbx variable to be of type Autodesk.AutoCAD.DatabaseServices.Database ... blocktablerecord is one step below "database". No instance of BlockTableRecord exists inside the database "tree".
The only thing that seems to be doable is getting ObjectIDs, but seems I can't do anything with them once I have them.
I am curious if this "lazy loading" thing is even worth it at all ...