<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Will SelectWindowPolygon and SelectCrossingWindow work in a headless AutoCAD environment? in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/will-selectwindowpolygon-and-selectcrossingwindow-work-in-a/m-p/13662077#M85184</link>
    <description>&lt;P&gt;No they will not work in a headless AutoCAD setup because they require a display. They use display information to select objects, so if there is no graphical view they will not work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Jun 2025 17:32:57 GMT</pubDate>
    <dc:creator>ActivistInvestor</dc:creator>
    <dc:date>2025-06-02T17:32:57Z</dc:date>
    <item>
      <title>Will SelectWindowPolygon and SelectCrossingWindow work in a headless AutoCAD environment?</title>
      <link>https://forums.autodesk.com/t5/net-forum/will-selectwindowpolygon-and-selectcrossingwindow-work-in-a/m-p/13661276#M85183</link>
      <description>&lt;P&gt;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.&lt;BR /&gt;One of the core requirements is efficiently selecting entities within specific polyline boundaries, especially when working with large and complex drawings.&lt;/P&gt;&lt;P&gt;Specific Questions:&lt;BR /&gt;- Are &lt;STRONG&gt;SelectWindowPolygon&lt;/STRONG&gt; and &lt;STRONG&gt;SelectCrossingWindow&lt;/STRONG&gt; supported in &lt;STRONG&gt;headless&lt;/STRONG&gt; AutoCAD environments like &lt;STRONG&gt;Design Automation API&lt;/STRONG&gt; or &lt;STRONG&gt;accoreconsole.exe&lt;/STRONG&gt;?&lt;BR /&gt;- If they are supported, are there any known limitations or behavioral differences compared to running them in an interactive AutoCAD session?&lt;BR /&gt;- What are the best practices for implementing entity selection in a way that works consistently across both interactive and headless environments?&lt;/P&gt;&lt;P&gt;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!&lt;BR /&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 12:07:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/will-selectwindowpolygon-and-selectcrossingwindow-work-in-a/m-p/13661276#M85183</guid>
      <dc:creator>santhoshr151194</dc:creator>
      <dc:date>2025-06-02T12:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Will SelectWindowPolygon and SelectCrossingWindow work in a headless AutoCAD environment?</title>
      <link>https://forums.autodesk.com/t5/net-forum/will-selectwindowpolygon-and-selectcrossingwindow-work-in-a/m-p/13662077#M85184</link>
      <description>&lt;P&gt;No they will not work in a headless AutoCAD setup because they require a display. They use display information to select objects, so if there is no graphical view they will not work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 17:32:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/will-selectwindowpolygon-and-selectcrossingwindow-work-in-a/m-p/13662077#M85184</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2025-06-02T17:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Will SelectWindowPolygon and SelectCrossingWindow work in a headless AutoCAD environment?</title>
      <link>https://forums.autodesk.com/t5/net-forum/will-selectwindowpolygon-and-selectcrossingwindow-work-in-a/m-p/13662586#M85194</link>
      <description>&lt;P&gt;iterating is faster than select all. You could probably get pretty good results if you optimize your code. Getting all the objects in a 2d extents should be very fast&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 23:27:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/will-selectwindowpolygon-and-selectcrossingwindow-work-in-a/m-p/13662586#M85194</guid>
      <dc:creator>daniel_cadext</dc:creator>
      <dc:date>2025-06-02T23:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Will SelectWindowPolygon and SelectCrossingWindow work in a headless AutoCAD environment?</title>
      <link>https://forums.autodesk.com/t5/net-forum/will-selectwindowpolygon-and-selectcrossingwindow-work-in-a/m-p/13811373#M85754</link>
      <description>&lt;P&gt;I’m developing a .NET add-in that runs on accoreconsole.exe, and I’m using SelectCrossingWindow() to process DWG files.&lt;BR /&gt;With some drawings it works fine, but with others it just returns Error.&lt;BR /&gt;I don’t see any difference between the files, so I’m not sure what the issue is.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Sep 2025 16:33:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/will-selectwindowpolygon-and-selectcrossingwindow-work-in-a/m-p/13811373#M85754</guid>
      <dc:creator>442884080</dc:creator>
      <dc:date>2025-09-15T16:33:36Z</dc:date>
    </item>
  </channel>
</rss>

