<?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: How to tell if object is from query? in AutoCAD Map 3D Developer Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/how-to-tell-if-object-is-from-query/m-p/2365937#M2726</link>
    <description>Thank you very much - I will investigate this method - looks like there is an ARX equivalent too!</description>
    <pubDate>Wed, 12 Nov 2008 15:57:07 GMT</pubDate>
    <dc:creator>MarkSanchezSPEC</dc:creator>
    <dc:date>2008-11-12T15:57:07Z</dc:date>
    <item>
      <title>How to tell if object is from query?</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/how-to-tell-if-object-is-from-query/m-p/2365935#M2724</link>
      <description>I am trying to figure out a solution that will allow us to maintain "sheets" in Map, whereby queried Map objects are combined with objects that are not contained in our Maps (ie borders, legends, etc) .  The problem is that when a DWG sheet is closed all queried objects get saved to the DWG, then the next time it is open, and the query is re-run, we wind up with duplicate objects!  Of course, this is expected as "the association between queried objects in the current and attached drawings is not maintained".  &lt;BR /&gt;
&lt;BR /&gt;
If there was a way to distinguish"queried" objects from objects that are part of the "sheet", then I could Delete them upon closing the DWG.  Then when the sheet is re-opened, the user simply re-runs the query and no duplicate objects are created.  So is there a way to programmattically distinguish"queried" objects from non-queried objects in a drawing?</description>
      <pubDate>Tue, 21 Oct 2008 19:43:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/how-to-tell-if-object-is-from-query/m-p/2365935#M2724</guid>
      <dc:creator>MarkSanchezSPEC</dc:creator>
      <dc:date>2008-10-21T19:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to tell if object is from query?</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/how-to-tell-if-object-is-from-query/m-p/2365936#M2725</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
This function returns nil if a object does not come from a queried dwg:&lt;BR /&gt;
&lt;BR /&gt;
(ade_qrygetdwgandhandle ename)&lt;BR /&gt;
&lt;BR /&gt;
but  should be used *before* you receive: "the association...bla bla.." &lt;BR /&gt;
message.&lt;BR /&gt;
&lt;BR /&gt;
-gnb&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;MSANCHEZ&gt; wrote in message &lt;BR /&gt;
news:6055733@discussion.autodesk.com...&lt;BR /&gt;
I am trying to figure out a solution that will allow us to maintain "sheets" &lt;BR /&gt;
in Map, whereby queried Map objects are combined with objects that are not &lt;BR /&gt;
contained in our Maps (ie borders, legends, etc) . The problem is that when &lt;BR /&gt;
a DWG sheet is closed all queried objects get saved to the DWG, then the &lt;BR /&gt;
next time it is open, and the query is re-run, we wind up with duplicate &lt;BR /&gt;
objects! Of course, this is expected as "the association between queried &lt;BR /&gt;
objects in the current and attached drawings is not maintained". If there &lt;BR /&gt;
was a way to distinguish"queried" objects from objects that are part of the &lt;BR /&gt;
"sheet", then I could Delete them upon closing the DWG. Then when the sheet &lt;BR /&gt;
is re-opened, the user simply re-runs the query and no duplicate objects are &lt;BR /&gt;
created. So is there a way to programmattically distinguish"queried" objects &lt;BR /&gt;
from non-queried objects in a drawing?&lt;/MSANCHEZ&gt;</description>
      <pubDate>Wed, 12 Nov 2008 02:30:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/how-to-tell-if-object-is-from-query/m-p/2365936#M2725</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-11-12T02:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to tell if object is from query?</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/how-to-tell-if-object-is-from-query/m-p/2365937#M2726</link>
      <description>Thank you very much - I will investigate this method - looks like there is an ARX equivalent too!</description>
      <pubDate>Wed, 12 Nov 2008 15:57:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/how-to-tell-if-object-is-from-query/m-p/2365937#M2726</guid>
      <dc:creator>MarkSanchezSPEC</dc:creator>
      <dc:date>2008-11-12T15:57:07Z</dc:date>
    </item>
  </channel>
</rss>

