<?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 PickObjects() string argument as a &amp;quot;tooltip&amp;quot; balloon in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/pickobjects-string-argument-as-a-quot-tooltip-quot-balloon/m-p/10736506#M22578</link>
    <description>&lt;P&gt;Anyone who has used the PickObjects() method to get multiple element selections from a user is probably familiar with the optional overload to write a string to the Revit status bar (&lt;A href="https://www.revitapidocs.com/2020/ee21d076-057b-f334-70a6-e0dab1d2ac4e.htm" target="_blank" rel="noopener"&gt;https://www.revitapidocs.com/2020/ee21d076-057b-f334-70a6-e0dab1d2ac4e.htm&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;public IList&amp;lt;Reference&amp;gt; PickObjects(
	ObjectType objectType,
	string statusPrompt
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you provide a string in this method, it gets written to the Revit status bar in the lower left of the main Revit window, as expected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However I also notice that on &lt;EM&gt;&lt;STRONG&gt;only the&lt;/STRONG&gt; &lt;STRONG&gt;f&lt;/STRONG&gt;&lt;STRONG&gt;irst use&lt;/STRONG&gt;&lt;/EM&gt; in a given Revit session, the string also appears in a balloon next to the cursor while awaiting user selection:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sroswurm4GJQU_0-1636053601851.png" style="width: 882px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/986044iE153138EA3D0DF72/image-dimensions/882x450?v=v2" width="882" height="450" role="button" title="sroswurm4GJQU_0-1636053601851.png" alt="sroswurm4GJQU_0-1636053601851.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm actually a big fan of this behavior, because it helps give the user instructions directly in the view without having to rely purely on the status bar.&amp;nbsp; I'd love to take advantage of it, but it doesn't seem to be stable.&amp;nbsp; After one use of the method in a given session, the string populates only in the status bar for subsequent uses.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd love to hear from Autodesk or from anyone else who has worked extensively with this method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the "tooltip" balloon on the cursor an intended behavior?&amp;nbsp; If so, is there anything we can do to make it work reliably/consistently when repeatedly triggering PickObjects() actions?&lt;/P&gt;</description>
    <pubDate>Thu, 04 Nov 2021 19:39:34 GMT</pubDate>
    <dc:creator>sroswurm4GJQU</dc:creator>
    <dc:date>2021-11-04T19:39:34Z</dc:date>
    <item>
      <title>PickObjects() string argument as a "tooltip" balloon</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/pickobjects-string-argument-as-a-quot-tooltip-quot-balloon/m-p/10736506#M22578</link>
      <description>&lt;P&gt;Anyone who has used the PickObjects() method to get multiple element selections from a user is probably familiar with the optional overload to write a string to the Revit status bar (&lt;A href="https://www.revitapidocs.com/2020/ee21d076-057b-f334-70a6-e0dab1d2ac4e.htm" target="_blank" rel="noopener"&gt;https://www.revitapidocs.com/2020/ee21d076-057b-f334-70a6-e0dab1d2ac4e.htm&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;public IList&amp;lt;Reference&amp;gt; PickObjects(
	ObjectType objectType,
	string statusPrompt
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you provide a string in this method, it gets written to the Revit status bar in the lower left of the main Revit window, as expected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However I also notice that on &lt;EM&gt;&lt;STRONG&gt;only the&lt;/STRONG&gt; &lt;STRONG&gt;f&lt;/STRONG&gt;&lt;STRONG&gt;irst use&lt;/STRONG&gt;&lt;/EM&gt; in a given Revit session, the string also appears in a balloon next to the cursor while awaiting user selection:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sroswurm4GJQU_0-1636053601851.png" style="width: 882px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/986044iE153138EA3D0DF72/image-dimensions/882x450?v=v2" width="882" height="450" role="button" title="sroswurm4GJQU_0-1636053601851.png" alt="sroswurm4GJQU_0-1636053601851.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm actually a big fan of this behavior, because it helps give the user instructions directly in the view without having to rely purely on the status bar.&amp;nbsp; I'd love to take advantage of it, but it doesn't seem to be stable.&amp;nbsp; After one use of the method in a given session, the string populates only in the status bar for subsequent uses.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd love to hear from Autodesk or from anyone else who has worked extensively with this method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the "tooltip" balloon on the cursor an intended behavior?&amp;nbsp; If so, is there anything we can do to make it work reliably/consistently when repeatedly triggering PickObjects() actions?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 19:39:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/pickobjects-string-argument-as-a-quot-tooltip-quot-balloon/m-p/10736506#M22578</guid>
      <dc:creator>sroswurm4GJQU</dc:creator>
      <dc:date>2021-11-04T19:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: PickObjects() string argument as a "tooltip" balloon</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/pickobjects-string-argument-as-a-quot-tooltip-quot-balloon/m-p/10737815#M22579</link>
      <description>&lt;P&gt;Cool observation, very valid question. Looks strange and not completely intentional to me. I &lt;A href="https://autodesk.slack.com/archives/C0SR6NAP8/p1636112421048500" target="_blank"&gt;asked&lt;/A&gt; the development team for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 11:42:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/pickobjects-string-argument-as-a-quot-tooltip-quot-balloon/m-p/10737815#M22579</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2021-11-05T11:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: PickObjects() string argument as a "tooltip" balloon</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/pickobjects-string-argument-as-a-quot-tooltip-quot-balloon/m-p/10746170#M22580</link>
      <description>&lt;P&gt;Thanks, Jeremy!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll look forward to hearing what you find out.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 19:55:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/pickobjects-string-argument-as-a-quot-tooltip-quot-balloon/m-p/10746170#M22580</guid>
      <dc:creator>sroswurm4GJQU</dc:creator>
      <dc:date>2021-11-09T19:55:17Z</dc:date>
    </item>
  </channel>
</rss>

