Will SelectWindowPolygon and SelectCrossingWindow work in a headless AutoCAD environment?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm building an application that needs to run both in interactive AutoCAD and in headless/cloud environments such as the Design Automation API or accoreconsole.exe.
One of the core requirements is efficiently selecting entities within specific polyline boundaries, especially when working with large and complex drawings.
Specific Questions:
- Are SelectWindowPolygon and SelectCrossingWindow supported in headless AutoCAD environments like Design Automation API or accoreconsole.exe?
- If they are supported, are there any known limitations or behavioral differences compared to running them in an interactive AutoCAD session?
- What are the best practices for implementing entity selection in a way that works consistently across both interactive and headless environments?
At the moment, I'm using a fallback approach that iterates through all entities in ModelSpace and performs manual geometric bounds checking, but it's considerably slower for large drawings. Any insights or recommendations would be greatly appreciated!
Thanks in advance.