<?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 Creating a smart selection set in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/creating-a-smart-selection-set/m-p/1310904#M26678</link>
    <description>I just want to create a kind of smart selection when I have overlapped&lt;BR /&gt;
objects.&lt;BR /&gt;
&lt;BR /&gt;
Lets say I have a Line at (0,0) (10,10) and a PLine at (0,0) (10,10).&lt;BR /&gt;
&lt;BR /&gt;
Using acedEntSel I want my selection to always be the Line.</description>
    <pubDate>Thu, 28 Apr 2005 22:55:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2005-04-28T22:55:11Z</dc:date>
    <item>
      <title>Creating a smart selection set</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/creating-a-smart-selection-set/m-p/1310904#M26678</link>
      <description>I just want to create a kind of smart selection when I have overlapped&lt;BR /&gt;
objects.&lt;BR /&gt;
&lt;BR /&gt;
Lets say I have a Line at (0,0) (10,10) and a PLine at (0,0) (10,10).&lt;BR /&gt;
&lt;BR /&gt;
Using acedEntSel I want my selection to always be the Line.</description>
      <pubDate>Thu, 28 Apr 2005 22:55:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/creating-a-smart-selection-set/m-p/1310904#M26678</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-04-28T22:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a smart selection set</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/creating-a-smart-selection-set/m-p/1310905#M26679</link>
      <description>Rodrigo,&lt;BR /&gt;
&lt;BR /&gt;
I think this is what you want.  You create a "filter" for the selection set &lt;BR /&gt;
with rb and use acedSSGet instead of acedEntSel.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
    ads_name sel_set;&lt;BR /&gt;
    struct resbuf *rb;&lt;BR /&gt;
    CString csLayer;  // in case you want to specify the layer(s) also&lt;BR /&gt;
&lt;BR /&gt;
     // can add other dxf criteria in addition to RTDXF0 and 8&lt;BR /&gt;
    rb = acutBuildList(RTDXF0, "LINE", 8, csLayer,  RTNONE);&lt;BR /&gt;
&lt;BR /&gt;
    // you can select objects but it will on the the lines on layer csLayer&lt;BR /&gt;
    acedSSGet(NULL, NULL, NULL, rb, sel_set);&lt;BR /&gt;
    acutRelRb(rb);&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Rodrigo" &lt;RODRIGO&gt; wrote in message &lt;BR /&gt;
news:4829784@discussion.autodesk.com...&lt;BR /&gt;
I just want to create a kind of smart selection when I have overlapped&lt;BR /&gt;
objects.&lt;BR /&gt;
&lt;BR /&gt;
Lets say I have a Line at (0,0) (10,10) and a PLine at (0,0) (10,10).&lt;BR /&gt;
&lt;BR /&gt;
Using acedEntSel I want my selection to always be the Line.&lt;/RODRIGO&gt;</description>
      <pubDate>Sun, 01 May 2005 14:14:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/creating-a-smart-selection-set/m-p/1310905#M26679</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-05-01T14:14:48Z</dc:date>
    </item>
  </channel>
</rss>

