Message 1 of 1
Looking for Guidance: Getting Bounding Box from BlockReference using VB.NET with Late Binding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm developing a VB.NET application that integrates with AutoCAD using Late Binding, so that it can work across multiple AutoCAD versions without referencing Autodesk DLLs directly.
I can access ModelSpace and work with BlockReference objects using Late Binding (e.g., .Name, .HasAttributes, .Position all work fine).
The issue is with calling .GetBoundingBox(minPt, maxPt) — using Reflection or InvokeMember, it either returns Nothing or throws a NullReferenceException.
If you have any working samples, techniques, or experiences, your input would be greatly appreciated 🙏