<?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 How to build a null spatial filter? in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/how-to-build-a-null-spatial-filter/m-p/6222063#M36755</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My intention is to read a dwg file partially, just in a specified layer, but in all the locations in model space, as the ObjectARX Reference Guide said, a null&amp;nbsp;pointer will result in no spatial filtering, so I wrote my code like this:&lt;/P&gt;&lt;PRE&gt;LayerFilter layFilter = new LayerFilter();
layFilter.Add("0");
db.ReadDwgFile(file, FileOpenMode.OpenForReadAndAllShare, true, null);
db.ApplyPartialOpenFilters(null, layFilter);
db.CloseInput(true);&lt;/PRE&gt;&lt;P&gt;but it doesn't work. Could anyone teach me that? Thanks a lot!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Mar 2016 00:44:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-03-18T00:44:33Z</dc:date>
    <item>
      <title>How to build a null spatial filter?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-build-a-null-spatial-filter/m-p/6222063#M36755</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My intention is to read a dwg file partially, just in a specified layer, but in all the locations in model space, as the ObjectARX Reference Guide said, a null&amp;nbsp;pointer will result in no spatial filtering, so I wrote my code like this:&lt;/P&gt;&lt;PRE&gt;LayerFilter layFilter = new LayerFilter();
layFilter.Add("0");
db.ReadDwgFile(file, FileOpenMode.OpenForReadAndAllShare, true, null);
db.ApplyPartialOpenFilters(null, layFilter);
db.CloseInput(true);&lt;/PRE&gt;&lt;P&gt;but it doesn't work. Could anyone teach me that? Thanks a lot!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2016 00:44:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-build-a-null-spatial-filter/m-p/6222063#M36755</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-18T00:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to build a null spatial filter?</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-build-a-null-spatial-filter/m-p/6227495#M36756</link>
      <description>&lt;P&gt;Hi! I am a new one here, can anybody help me out?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2016 01:48:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-build-a-null-spatial-filter/m-p/6227495#M36756</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-22T01:48:51Z</dc:date>
    </item>
  </channel>
</rss>

