<?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: CommandManager.Pick bug with ESC key in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/commandmanager-pick-bug-with-esc-key/m-p/7961641#M122174</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5741855"&gt;@BrianEkins&lt;/a&gt;wrote:&lt;BR /&gt;&lt;P&gt;Hopefully, this will help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://ekinssolutions.com/selecting-multiple-entities-using-pick-in-inventor/" target="_blank"&gt;https://ekinssolutions.com/selecting-multiple-entities-using-pick-in-inventor/&lt;/A&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thank you. And thank you also for all the other examples you posted everywhere.&lt;/P&gt;</description>
    <pubDate>Thu, 26 Apr 2018 12:15:49 GMT</pubDate>
    <dc:creator>_dscholtes_</dc:creator>
    <dc:date>2018-04-26T12:15:49Z</dc:date>
    <item>
      <title>CommandManager.Pick bug with ESC key</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/commandmanager-pick-bug-with-esc-key/m-p/5337065#M122168</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I discovered a bug with the CommandManager.Pick method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When 2 Pick command follow each other, if I press on [Esc] key, the KeyDown event cancels the first Pick command and the KeyUp event cancels the next one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can reproduce this behavior by inserting 2 parts in assembly and run this iLogic code (press [Esc] key instead of selecting part):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Dim message As String

For index = 1 To 10
	message = "Pick #" &amp;amp; index
	ThisApplication.CommandManager.Pick(SelectionFilterEnum.kAssemblyOccurrenceFilter, message)
Next&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result: all the even are skipped.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does someone had a workaround? &amp;nbsp;(I thought&amp;nbsp;to&amp;nbsp;catch the KeyDown event and ignore it.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pascal&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2014 18:29:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/commandmanager-pick-bug-with-esc-key/m-p/5337065#M122168</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-14T18:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: CommandManager.Pick bug with ESC key</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/commandmanager-pick-bug-with-esc-key/m-p/5338687#M122169</link>
      <description>&lt;P&gt;I &amp;nbsp;work with Inventor Professional 2013 64-Bit Edition SP2 Update 4&lt;/P&gt;</description>
      <pubDate>Wed, 15 Oct 2014 12:51:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/commandmanager-pick-bug-with-esc-key/m-p/5338687#M122169</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-15T12:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: CommandManager.Pick bug with ESC key</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/commandmanager-pick-bug-with-esc-key/m-p/5339277#M122170</link>
      <description>&lt;P&gt;The keyboard events are disabled when the Pick command is activated. &amp;nbsp;So, my workaround doesn't work.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Oct 2014 15:36:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/commandmanager-pick-bug-with-esc-key/m-p/5339277#M122170</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-15T15:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: CommandManager.Pick bug with ESC key</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/commandmanager-pick-bug-with-esc-key/m-p/7958293#M122171</link>
      <description>&lt;P&gt;I would like to have some&amp;nbsp;solution for this effect as well. I&amp;nbsp;want to&amp;nbsp;let the user either select something or press escape to use a suggested default selection, twice in a row.&amp;nbsp;Selecting something using the InteractionEvents has the same issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I &amp;nbsp;work with Inventor Professional 2018 64-Bit Edition release 2018.2.3&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2018 12:30:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/commandmanager-pick-bug-with-esc-key/m-p/7958293#M122171</guid>
      <dc:creator>_dscholtes_</dc:creator>
      <dc:date>2018-04-25T12:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: CommandManager.Pick bug with ESC key</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/commandmanager-pick-bug-with-esc-key/m-p/7959484#M122172</link>
      <description>&lt;P&gt;Hopefully, this will help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://ekinssolutions.com/selecting-multiple-entities-using-pick-in-inventor/" target="_blank"&gt;https://ekinssolutions.com/selecting-multiple-entities-using-pick-in-inventor/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2018 18:04:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/commandmanager-pick-bug-with-esc-key/m-p/7959484#M122172</guid>
      <dc:creator>BrianEkins</dc:creator>
      <dc:date>2018-04-25T18:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: CommandManager.Pick bug with ESC key</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/commandmanager-pick-bug-with-esc-key/m-p/7959606#M122173</link>
      <description>&lt;P&gt;Thanks Brian!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2018 18:37:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/commandmanager-pick-bug-with-esc-key/m-p/7959606#M122173</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-25T18:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: CommandManager.Pick bug with ESC key</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/commandmanager-pick-bug-with-esc-key/m-p/7961641#M122174</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5741855"&gt;@BrianEkins&lt;/a&gt;wrote:&lt;BR /&gt;&lt;P&gt;Hopefully, this will help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://ekinssolutions.com/selecting-multiple-entities-using-pick-in-inventor/" target="_blank"&gt;https://ekinssolutions.com/selecting-multiple-entities-using-pick-in-inventor/&lt;/A&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thank you. And thank you also for all the other examples you posted everywhere.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 12:15:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/commandmanager-pick-bug-with-esc-key/m-p/7961641#M122174</guid>
      <dc:creator>_dscholtes_</dc:creator>
      <dc:date>2018-04-26T12:15:49Z</dc:date>
    </item>
  </channel>
</rss>

