<?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 entity event: is it possible? in Navisworks API Forum</title>
    <link>https://forums.autodesk.com/t5/navisworks-api-forum/select-entity-event-is-it-possible/m-p/12248683#M1026</link>
    <description>&lt;P&gt;Hello, Alexis,&lt;/P&gt;&lt;P&gt;having problems with Navisworks documentation. could you please, point me to SelectionChanged event description.&lt;/P&gt;&lt;P&gt;Dot Net API reference is mentioned Autodesk.Navisworks.Api.Takeoff assembly but not sure if it is appropriate for the current view item selection event.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Mon, 18 Sep 2023 16:33:55 GMT</pubDate>
    <dc:creator>gennadyKhkh</dc:creator>
    <dc:date>2023-09-18T16:33:55Z</dc:date>
    <item>
      <title>select entity event: is it possible?</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/select-entity-event-is-it-possible/m-p/12244508#M1024</link>
      <description>&lt;P&gt;Want to get stop at select entity event in Navisworks Manage 2023.&lt;/P&gt;&lt;P&gt;Samples in Lab_Events collections does not have any click or select event demo.&lt;/P&gt;&lt;P&gt;Is it possible to interveen selection process?&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Gennady&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 23:37:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/select-entity-event-is-it-possible/m-p/12244508#M1024</guid>
      <dc:creator>gennadyKhkh</dc:creator>
      <dc:date>2023-09-15T23:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: select entity event: is it possible?</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/select-entity-event-is-it-possible/m-p/12246011#M1025</link>
      <description>&lt;P&gt;You can use the SelectionChanged.&lt;BR /&gt;If you want to alter the slection, just turn on a flag to detect being called again or temporary change your SelectionChanged event handler.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Sep 2023 06:09:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/select-entity-event-is-it-possible/m-p/12246011#M1025</guid>
      <dc:creator>alexisDVJML</dc:creator>
      <dc:date>2023-09-17T06:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: select entity event: is it possible?</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/select-entity-event-is-it-possible/m-p/12248683#M1026</link>
      <description>&lt;P&gt;Hello, Alexis,&lt;/P&gt;&lt;P&gt;having problems with Navisworks documentation. could you please, point me to SelectionChanged event description.&lt;/P&gt;&lt;P&gt;Dot Net API reference is mentioned Autodesk.Navisworks.Api.Takeoff assembly but not sure if it is appropriate for the current view item selection event.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 16:33:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/select-entity-event-is-it-possible/m-p/12248683#M1026</guid>
      <dc:creator>gennadyKhkh</dc:creator>
      <dc:date>2023-09-18T16:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: select entity event: is it possible?</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/select-entity-event-is-it-possible/m-p/12248817#M1027</link>
      <description>&lt;P&gt;Hello, Alexis,&lt;/P&gt;&lt;P&gt;discovered from sample&amp;nbsp;&lt;A href="https://github.com/22mn/Navisworks-API-Event-EventWatcherPlugin" target="_blank" rel="noopener"&gt;code&lt;/A&gt;&amp;nbsp; where is such event subscription located:&lt;/P&gt;&lt;P&gt;DocumentCurrentSelection class, Changed event&lt;/P&gt;&lt;P&gt;And it is working fine to select entities in Navisworks current view.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gennady&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 17:24:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/select-entity-event-is-it-possible/m-p/12248817#M1027</guid>
      <dc:creator>gennadyKhkh</dc:creator>
      <dc:date>2023-09-18T17:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: select entity event: is it possible?</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/select-entity-event-is-it-possible/m-p/12301049#M1028</link>
      <description>&lt;P&gt;Using SelectionChanged does not allow to modify the selection because this is in readonly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The way I do it is by creating a InputPlugin, in the MouseUp function, I get the ModelItem user clicked with view.PickItemFromPoint(x, y).ModelItem then change it acording to my rules.&lt;/P&gt;&lt;P&gt;Then return true to block Navisworks's selecting process&lt;/P&gt;&lt;P&gt;If you did nothing, return false to let Navisworks select stuff.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 08:47:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/select-entity-event-is-it-possible/m-p/12301049#M1028</guid>
      <dc:creator>lanneauolivier</dc:creator>
      <dc:date>2023-10-12T08:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: select entity event: is it possible?</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/select-entity-event-is-it-possible/m-p/12329142#M1029</link>
      <description>Good Technique.&lt;BR /&gt;For similar situations, in our plugin I use a different trick: on SelectionChanged, I set up internal action that is executed in next call to our plugin OnIdle.</description>
      <pubDate>Wed, 25 Oct 2023 07:11:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/select-entity-event-is-it-possible/m-p/12329142#M1029</guid>
      <dc:creator>alexisDVJML</dc:creator>
      <dc:date>2023-10-25T07:11:36Z</dc:date>
    </item>
  </channel>
</rss>

