<?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: Autocad command to select entities in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/autocad-command-to-select-entities/m-p/322370#M34990</link>
    <description>Robert- írta:&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; Hello,&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; what is command to select entities? That means clicking on a an entity &lt;BR /&gt;
&amp;gt; calls a special autocad command, which is it?&lt;BR /&gt;
&amp;gt; I want to call it with acedCommand().&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; with kind regards,&lt;BR /&gt;
&amp;gt; Robert&lt;BR /&gt;
select</description>
    <pubDate>Sun, 20 Jul 2003 23:31:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2003-07-20T23:31:17Z</dc:date>
    <item>
      <title>Autocad command to select entities</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/autocad-command-to-select-entities/m-p/322369#M34989</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;
what is command to select entities? That means clicking on a an entity calls a special autocad command, which is it?&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
I want to call it with acedCommand(). &lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;
with kind regards,&lt;BR /&gt;&lt;BR /&gt;
Robert</description>
      <pubDate>Sun, 20 Jul 2003 22:10:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/autocad-command-to-select-entities/m-p/322369#M34989</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-07-20T22:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Autocad command to select entities</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/autocad-command-to-select-entities/m-p/322370#M34990</link>
      <description>Robert- írta:&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; Hello,&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; what is command to select entities? That means clicking on a an entity &lt;BR /&gt;
&amp;gt; calls a special autocad command, which is it?&lt;BR /&gt;
&amp;gt; I want to call it with acedCommand().&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; with kind regards,&lt;BR /&gt;
&amp;gt; Robert&lt;BR /&gt;
select</description>
      <pubDate>Sun, 20 Jul 2003 23:31:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/autocad-command-to-select-entities/m-p/322370#M34990</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-07-20T23:31:17Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/autocad-command-to-select-entities/m-p/322371#M34991</link>
      <description>"select" doesn´t show the grips. Is there another command?</description>
      <pubDate>Mon, 21 Jul 2003 00:25:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/autocad-command-to-select-entities/m-p/322371#M34991</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-07-21T00:25:56Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/autocad-command-to-select-entities/m-p/322372#M34992</link>
      <description>Robert- írta:&lt;BR /&gt;
&amp;gt; "select" doesn´t show the grips. Is there another command?&lt;BR /&gt;
&lt;BR /&gt;
without commands:&lt;BR /&gt;
&lt;BR /&gt;
void select()&lt;BR /&gt;
{&lt;BR /&gt;
ads_name l_selection_set;&lt;BR /&gt;
acedSSAdd(NULL, NULL, l_selection_set;&lt;BR /&gt;
&lt;BR /&gt;
for (......)&lt;BR /&gt;
{&lt;BR /&gt;
   ...&lt;BR /&gt;
   acedSSAdd(l_entity_name, l_selection_set, l_selection_set);&lt;BR /&gt;
   ...&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
acedSSSetFirst(l_selection_set, l_selection_set);&lt;BR /&gt;
acedSSFree(l_selection_set);&lt;BR /&gt;
}</description>
      <pubDate>Mon, 21 Jul 2003 01:50:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/autocad-command-to-select-entities/m-p/322372#M34992</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-07-21T01:50:34Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/autocad-command-to-select-entities/m-p/322373#M34993</link>
      <description>acedSSSetFirst returns always -5001, that means Error.&lt;BR /&gt;
What´s wrong? I give acedSSSetFirst only a selection set with one entity inside.</description>
      <pubDate>Mon, 21 Jul 2003 03:09:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/autocad-command-to-select-entities/m-p/322373#M34993</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-07-21T03:09:25Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/autocad-command-to-select-entities/m-p/322374#M34994</link>
      <description>Robert- írta:&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; acedSSSetFirst returns always -5001, that means Error.&lt;BR /&gt;
&amp;gt; What´s wrong? I give acedSSSetFirst only a selection set with one entity &lt;BR /&gt;
&amp;gt; inside.&lt;BR /&gt;
&lt;BR /&gt;
It works for me. Copy and paste the code fragment you use.&lt;BR /&gt;
&lt;BR /&gt;
Zé</description>
      <pubDate>Mon, 21 Jul 2003 03:34:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/autocad-command-to-select-entities/m-p/322374#M34994</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-07-21T03:34:46Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/autocad-command-to-select-entities/m-p/322375#M34995</link>
      <description>I use this code to test it:&lt;BR /&gt;&lt;BR /&gt;
There is one entity on layer "0";&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;
	ads_name SelName;&lt;BR /&gt;&lt;BR /&gt;
	struct resbuf *filter;&lt;BR /&gt;&lt;BR /&gt;
	filter = acutBuildList(8, "0", RTNONE);&lt;BR /&gt;&lt;BR /&gt;
	acedSSGet("X", NULL, NULL, filter, SelName);	&lt;BR /&gt;&lt;BR /&gt;
	long len;&lt;BR /&gt;&lt;BR /&gt;
	acedSSLength(SelName, &amp;amp;len);&lt;BR /&gt;&lt;BR /&gt;
	int a = acedSSSetFirst(SelName, SelName);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;
"len" is one, so creating the selection set should be done successful.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;
Thanks for your help.</description>
      <pubDate>Mon, 21 Jul 2003 03:43:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/autocad-command-to-select-entities/m-p/322375#M34995</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-07-21T03:43:42Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/autocad-command-to-select-entities/m-p/322376#M34996</link>
      <description>Robert- írta:&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; I use this code to test it:&lt;BR /&gt;
&amp;gt; There is one entity on layer "0";&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; ads_name SelName;&lt;BR /&gt;
&amp;gt; struct resbuf *filter;&lt;BR /&gt;
&amp;gt; filter = acutBuildList(8, "0", RTNONE);&lt;BR /&gt;
&amp;gt; acedSSGet("X", NULL, NULL, filter, SelName);&lt;BR /&gt;
&amp;gt; long len;&lt;BR /&gt;
&amp;gt; acedSSLength(SelName, &amp;amp;len);&lt;BR /&gt;
&amp;gt; int a = acedSSSetFirst(SelName, SelName);&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; "len" is one, so creating the selection set should be done successful.&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Thanks for your help.&lt;BR /&gt;
addCommand  -  ACRX_CMD_USEPICKSET set?&lt;BR /&gt;
&lt;BR /&gt;
As I sad that piece of code works in our app.&lt;BR /&gt;
Zé</description>
      <pubDate>Mon, 21 Jul 2003 10:25:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/autocad-command-to-select-entities/m-p/322376#M34996</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-07-21T10:25:47Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/autocad-command-to-select-entities/m-p/322377#M34997</link>
      <description>Yes, it is set.</description>
      <pubDate>Mon, 21 Jul 2003 21:07:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/autocad-command-to-select-entities/m-p/322377#M34997</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-07-21T21:07:00Z</dc:date>
    </item>
  </channel>
</rss>

