<?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 Draw a rectangle and get the points in AutoCAD Map 3D Developer Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/draw-a-rectangle-and-get-the-points/m-p/5757474#M1335</link>
    <description>&lt;P&gt;Good day.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm very new to Autocad.Net(just yesterday)&lt;/P&gt;&lt;P&gt;I'm having a trouble here i've been searching for a time and can't find a solution about this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have this code :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ftrSrcDoc.SelectSingleNode("//VectorLayerDefinition//Filter").InnerText = "GEOMETRY INTERSECTS GeomFromText('POLYGON XYZ ((285118.759745984 1597174.39053725 0, 285118.759745984 1594120.63633398 0, 291132.306799835 1594120.63633398 0, 291132.306799835 1597174.39053725 0, 285118.759745984 1597174.39053725 0))') ";&lt;/PRE&gt;&lt;P&gt;as you can see. i'm adding a filter at the back end.&lt;/P&gt;&lt;P&gt;what i want to happen is to add a filter value dynamically maybe by drawing a rectangle shape and get the points and insert it to my filter.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Aug 2015 09:02:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-08-05T09:02:40Z</dc:date>
    <item>
      <title>Draw a rectangle and get the points</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/draw-a-rectangle-and-get-the-points/m-p/5757474#M1335</link>
      <description>&lt;P&gt;Good day.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm very new to Autocad.Net(just yesterday)&lt;/P&gt;&lt;P&gt;I'm having a trouble here i've been searching for a time and can't find a solution about this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have this code :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ftrSrcDoc.SelectSingleNode("//VectorLayerDefinition//Filter").InnerText = "GEOMETRY INTERSECTS GeomFromText('POLYGON XYZ ((285118.759745984 1597174.39053725 0, 285118.759745984 1594120.63633398 0, 291132.306799835 1594120.63633398 0, 291132.306799835 1597174.39053725 0, 285118.759745984 1597174.39053725 0))') ";&lt;/PRE&gt;&lt;P&gt;as you can see. i'm adding a filter at the back end.&lt;/P&gt;&lt;P&gt;what i want to happen is to add a filter value dynamically maybe by drawing a rectangle shape and get the points and insert it to my filter.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2015 09:02:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/draw-a-rectangle-and-get-the-points/m-p/5757474#M1335</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-05T09:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Draw a rectangle and get the points</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/draw-a-rectangle-and-get-the-points/m-p/5757525#M1336</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;have a look at API documentation - specifically sample apps. This on ehere looks promising:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;\Map ObjectARX SDK 2013\Map Samples\Platform\QueryAndLocate\ReadMe.txt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This sample demonstrates:&lt;BR /&gt;-&amp;nbsp;&amp;nbsp; How to load FDO features into Map.&lt;BR /&gt;-&amp;nbsp;&amp;nbsp; How to get the name and property definitions of a feature class.&lt;BR /&gt;-&amp;nbsp;&amp;nbsp; How to query features in a layer by the specific value fitlers.&lt;BR /&gt;-&amp;nbsp;&amp;nbsp; How to query features in a layer by the specific spatial filters.&lt;BR /&gt;-&amp;nbsp;&amp;nbsp; How to zoom to a selected feature in Map.&lt;BR /&gt;-&amp;nbsp;&amp;nbsp; How to highlight a selected feature in Map.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2015 09:55:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/draw-a-rectangle-and-get-the-points/m-p/5757525#M1336</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-05T09:55:03Z</dc:date>
    </item>
  </channel>
</rss>

