<?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: Select Nested in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/select-nested/m-p/2046219#M77273</link>
    <description>Hi Luis,&lt;BR /&gt;
&lt;BR /&gt;
Thank you.  I'm currently thinking along different lines (though not getting much time to put on it).  I would need &lt;BR /&gt;
this to work with xrefs and am afraid that something involving explode may be too much for xrefs or large selection &lt;BR /&gt;
areas.  I haven't ruled it out but am pursuing other possibilities first.&lt;BR /&gt;
-- &lt;BR /&gt;
James Allen&lt;BR /&gt;
Malicoat-Winslow Engineers, P.C.&lt;BR /&gt;
Columbia, MO&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;LUIS esquivel=""&gt; wrote in message news:5696545@discussion.autodesk.com...&lt;BR /&gt;
James;&lt;BR /&gt;
&lt;BR /&gt;
I did a quick test in objectarx and it provides the same as in c#... and then did also some code in c# to emulate &lt;BR /&gt;
what the command trim does.&lt;BR /&gt;
&lt;BR /&gt;
Sorry no code available, but this is what I did and just for blocks no xrefs and as an exercise and appears to work &lt;BR /&gt;
just fine:&lt;BR /&gt;
&lt;BR /&gt;
1. Select the blocks that are in the screen view and make a deep nest explode of them and save the exploded entities &lt;BR /&gt;
ids inside of an ObjectIdCollection and add the temporary entities to the drawing and the blocks ids in another &lt;BR /&gt;
one - making sure to hide them via: block.Visible = false.&lt;BR /&gt;
&lt;BR /&gt;
2. Then, in your command just have your nest blocks explode function before making a selection, that will generate &lt;BR /&gt;
the blocks items as normal entities, then make your selection and do your stuff and verify if your ids collections &lt;BR /&gt;
are not empty and erase the temporary entities and turn on the visible mode of the blocks.&lt;BR /&gt;
&lt;BR /&gt;
HTH.&lt;/LUIS&gt;</description>
    <pubDate>Wed, 22 Aug 2007 11:55:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-08-22T11:55:12Z</dc:date>
    <item>
      <title>Select Nested</title>
      <link>https://forums.autodesk.com/t5/net-forum/select-nested/m-p/2046216#M77270</link>
      <description>Can .Net 1) select multiple nested entities 2) within the same block reference 3) in one crossing window action?  If &lt;BR /&gt;
so would you please give me a nudge in the right direction?&lt;BR /&gt;
&lt;BR /&gt;
I am totally new to C# and .Net and don't have any prior experience with ObjectArx either.  I have gotten as far as &lt;BR /&gt;
the attached code, but it will only select one nested entity per crossing window per block reference.  If with a &lt;BR /&gt;
single crossing window I cross two or more nested entities in a block/xref I want them all to be selected.  For &lt;BR /&gt;
example, the built in Trim/Extend commands work as I'm trying to get this to.&lt;BR /&gt;
&lt;BR /&gt;
Thank you,&lt;BR /&gt;
-- &lt;BR /&gt;
James Allen&lt;BR /&gt;
Malicoat-Winslow Engineers, P.C.&lt;BR /&gt;
Columbia, MO</description>
      <pubDate>Thu, 16 Aug 2007 12:08:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/select-nested/m-p/2046216#M77270</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-08-16T12:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Select Nested</title>
      <link>https://forums.autodesk.com/t5/net-forum/select-nested/m-p/2046217#M77271</link>
      <description>I found this 3 year old post stating that there is nothing built in for this even in native arx.&lt;BR /&gt;
http://discussion.autodesk.com/thread.jspa?messageID=3967495&lt;BR /&gt;
I've been searching high and low and can't find anything for it, managed or otherwise.  That's very disappointing. &lt;BR /&gt;
It seems to me like they would have made this available by now.&lt;BR /&gt;
&lt;BR /&gt;
I'm considering other alternatives now and will post back if I come up with anything I think is worthwhile.&lt;BR /&gt;
&lt;BR /&gt;
James&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"James Allen" &lt;JAMESA&gt; wrote in message news:5691593@discussion.autodesk.com...&lt;BR /&gt;
Can .Net 1) select multiple nested entities 2) within the same block reference 3) in one crossing window action?  If&lt;BR /&gt;
so would you please give me a nudge in the right direction?&lt;BR /&gt;
&lt;BR /&gt;
I am totally new to C# and .Net and don't have any prior experience with ObjectArx either.  I have gotten as far as&lt;BR /&gt;
the attached code, but it will only select one nested entity per crossing window per block reference.  If with a&lt;BR /&gt;
single crossing window I cross two or more nested entities in a block/xref I&lt;BR /&gt;
want them all to be selected.  For&lt;BR /&gt;
example, the built in Trim/Extend commands work as I'm trying to get this to.&lt;BR /&gt;
&lt;BR /&gt;
Thank you,&lt;BR /&gt;
-- &lt;BR /&gt;
James Allen&lt;BR /&gt;
Malicoat-Winslow Engineers, P.C.&lt;BR /&gt;
Columbia, MO&lt;/JAMESA&gt;</description>
      <pubDate>Mon, 20 Aug 2007 20:46:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/select-nested/m-p/2046217#M77271</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-08-20T20:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Select Nested</title>
      <link>https://forums.autodesk.com/t5/net-forum/select-nested/m-p/2046218#M77272</link>
      <description>James;&lt;BR /&gt;
&lt;BR /&gt;
I did a quick test in objectarx and it provides the same as in c#... and then did also some code in c# to emulate what the command trim does.&lt;BR /&gt;
&lt;BR /&gt;
Sorry no code available, but this is what I did and just for blocks no xrefs and as an exercise and appears to work just fine:&lt;BR /&gt;
&lt;BR /&gt;
1. Select the blocks that are in the screen view and make a deep nest explode of them and save the exploded entities ids inside of an ObjectIdCollection and add the temporary entities to the drawing and the blocks ids in another one - making sure to hide them via: block.Visible = false.&lt;BR /&gt;
&lt;BR /&gt;
2. Then, in your command just have your nest blocks explode function before making a selection, that will generate the blocks items as normal entities, then make your selection and do your stuff and verify if your ids collections are not empty and erase the temporary entities and turn on the visible mode of the blocks.&lt;BR /&gt;
&lt;BR /&gt;
HTH.</description>
      <pubDate>Tue, 21 Aug 2007 18:23:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/select-nested/m-p/2046218#M77272</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-08-21T18:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Select Nested</title>
      <link>https://forums.autodesk.com/t5/net-forum/select-nested/m-p/2046219#M77273</link>
      <description>Hi Luis,&lt;BR /&gt;
&lt;BR /&gt;
Thank you.  I'm currently thinking along different lines (though not getting much time to put on it).  I would need &lt;BR /&gt;
this to work with xrefs and am afraid that something involving explode may be too much for xrefs or large selection &lt;BR /&gt;
areas.  I haven't ruled it out but am pursuing other possibilities first.&lt;BR /&gt;
-- &lt;BR /&gt;
James Allen&lt;BR /&gt;
Malicoat-Winslow Engineers, P.C.&lt;BR /&gt;
Columbia, MO&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;LUIS esquivel=""&gt; wrote in message news:5696545@discussion.autodesk.com...&lt;BR /&gt;
James;&lt;BR /&gt;
&lt;BR /&gt;
I did a quick test in objectarx and it provides the same as in c#... and then did also some code in c# to emulate &lt;BR /&gt;
what the command trim does.&lt;BR /&gt;
&lt;BR /&gt;
Sorry no code available, but this is what I did and just for blocks no xrefs and as an exercise and appears to work &lt;BR /&gt;
just fine:&lt;BR /&gt;
&lt;BR /&gt;
1. Select the blocks that are in the screen view and make a deep nest explode of them and save the exploded entities &lt;BR /&gt;
ids inside of an ObjectIdCollection and add the temporary entities to the drawing and the blocks ids in another &lt;BR /&gt;
one - making sure to hide them via: block.Visible = false.&lt;BR /&gt;
&lt;BR /&gt;
2. Then, in your command just have your nest blocks explode function before making a selection, that will generate &lt;BR /&gt;
the blocks items as normal entities, then make your selection and do your stuff and verify if your ids collections &lt;BR /&gt;
are not empty and erase the temporary entities and turn on the visible mode of the blocks.&lt;BR /&gt;
&lt;BR /&gt;
HTH.&lt;/LUIS&gt;</description>
      <pubDate>Wed, 22 Aug 2007 11:55:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/select-nested/m-p/2046219#M77273</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-08-22T11:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Select Nested</title>
      <link>https://forums.autodesk.com/t5/net-forum/select-nested/m-p/2046220#M77274</link>
      <description>/*Thank you. I'm currently thinking along different lines (though not getting much time to put on it). I would need &lt;BR /&gt;
this to work with xrefs and am afraid that something involving explode may be too much for xrefs or large selection &lt;BR /&gt;
areas. I haven't ruled it out but am pursuing other possibilities first.*/&lt;BR /&gt;
&lt;BR /&gt;
James;&lt;BR /&gt;
&lt;BR /&gt;
If you want to run your own tests with the functions I wrote, I can e-mail them to you.&lt;BR /&gt;
&lt;BR /&gt;
Running the tests on simple blocks (using a large number on the screen view), it works very fast.&lt;BR /&gt;
&lt;BR /&gt;
I will try to add the xrefs, and see how that might work - I might need something like this.</description>
      <pubDate>Wed, 22 Aug 2007 15:04:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/select-nested/m-p/2046220#M77274</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-08-22T15:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Select Nested</title>
      <link>https://forums.autodesk.com/t5/net-forum/select-nested/m-p/2046221#M77275</link>
      <description>I would like to test your functions, but not until I have my own working.  I've gotten far enough with mine that I &lt;BR /&gt;
really want to follow through with it to see how it works out, even if it turns out to not be as effective or &lt;BR /&gt;
efficient as yours.  As I mentioned I'm new to .Net, and this is proving to be a very educational exercise.&lt;BR /&gt;
&lt;BR /&gt;
I look forward to seeing how they compare.  My address is in the header; just change the obvious.&lt;BR /&gt;
-- &lt;BR /&gt;
James Allen&lt;BR /&gt;
Malicoat-Winslow Engineers, P.C.&lt;BR /&gt;
Columbia, MO&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;LUIS esquivel=""&gt; wrote in message news:5697474@discussion.autodesk.com...&lt;BR /&gt;
/*Thank you. I'm currently thinking along different lines (though not getting much time to put on it). I would need&lt;BR /&gt;
this to work with xrefs and am afraid that something involving explode may be too much for xrefs or large selection&lt;BR /&gt;
areas. I haven't ruled it out but am pursuing other possibilities first.*/&lt;BR /&gt;
&lt;BR /&gt;
James;&lt;BR /&gt;
&lt;BR /&gt;
If you want to run your own tests with the functions I wrote, I can e-mail them to you.&lt;BR /&gt;
&lt;BR /&gt;
Running the tests on simple blocks (using a large number on the screen view), it works very fast.&lt;BR /&gt;
&lt;BR /&gt;
I will try to add the xrefs, and see how that might work - I might need something like this.&lt;/LUIS&gt;</description>
      <pubDate>Thu, 23 Aug 2007 11:57:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/select-nested/m-p/2046221#M77275</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-08-23T11:57:45Z</dc:date>
    </item>
  </channel>
</rss>

