<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Forcing GetDDescription() refresh in ToolData plugin (EventAdd not working)]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I’m writing a ToolData plugin with the C++ SDK.<br />
I see that GetDDescription() is automatically called when:<br />
the tool is first activated (before InitTool()),the user interacts with the Attribute Manager (e.g. clicks on a choice control),and when parameters change.<br />
That works fine.</p>
<p dir="auto">But I also need to refresh the Attribute Manager description when my tool state changes during runtime (for example inside MouseInput(), or after some internal state update).</p>
<p dir="auto">I tried calling : EventAdd(EVENT_FORCEREDRAW);<br />
…but this does not cause GetDDescription() to be called again for my tool.</p>
<p dir="auto">So my questions are:<br />
What is the correct way to force GetDDescription() to run again for a ToolData plugin?<br />
Is there a specific event or API call I should use to tell the Attribute Manager to rebuild the description?<br />
Any best practices for dynamically updating tool descriptions at runtime?</p>
<p dir="auto">Thanks!</p>
]]></description><link>http://developers.maxon.net/forum/topic/16329/forcing-getddescription-refresh-in-tooldata-plugin-eventadd-not-working</link><generator>RSS for Node</generator><lastBuildDate>Thu, 14 May 2026 19:22:47 GMT</lastBuildDate><atom:link href="http://developers.maxon.net/forum/topic/16329.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 22 Sep 2025 14:11:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Forcing GetDDescription() refresh in ToolData plugin (EventAdd not working) on Tue, 23 Sep 2025 16:00:27 GMT]]></title><description><![CDATA[<p dir="auto">Thank you, Maxim.<br />
No further testing is needed—this works very well.<br />
I’m calling it from the ToolData::MouseInput() callback at the end, which is sufficient. The panel updates nicely after the mouse event finishes (on mouse up).</p>
<p dir="auto">SendCoreMessage(COREMSG_CINEMA, BaseContainer(COREMSG_CINEMA_FORCE_AM_UPDATE));<br />
GeUpdateUI();</p>
<p dir="auto">You can close this thread.<br />
Thanks!<br />
V.</p>
]]></description><link>http://developers.maxon.net/forum/post/76831</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/76831</guid><dc:creator><![CDATA[Viktor Velicko]]></dc:creator><pubDate>Tue, 23 Sep 2025 16:00:27 GMT</pubDate></item><item><title><![CDATA[Reply to Forcing GetDDescription() refresh in ToolData plugin (EventAdd not working) on Tue, 23 Sep 2025 12:21:01 GMT]]></title><description><![CDATA[<p dir="auto">Hey <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/viktor-velicko">@<bdi>Viktor-Velicko</bdi></a> I'm busy this week and I will be able to have a deeper look at it only next week.</p>
<p dir="auto">With that's said here are few hints (at least what I would try first).</p>
<ul>
<li>Send <a href="https://developers.maxon.net/docs/cpp/2026_0_0/page_manual_coremessages.html#page_manual_coremessages_other" target="_blank" rel="noopener noreferrer nofollow ugc">COREMSG_CINEMA_FORCE_AM_UPDATE</a>.</li>
<li>Call <a href="https://developers.maxon.net/docs/cpp/2026_0_0/namespacecinema.html#afe5631a9cbc2fcd52d6ba407e9aeae30" target="_blank" rel="noopener noreferrer nofollow ugc">GeUpdateUI</a>.</li>
<li>It may not be possible at all to do during a drag operation (but I will ask about it only once the two previous solutions are confirmed to not work, which I do not have the time to test right now).</li>
</ul>
<p dir="auto">Cheers,<br />
Maxime</p>
]]></description><link>http://developers.maxon.net/forum/post/76828</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/76828</guid><dc:creator><![CDATA[m_adam]]></dc:creator><pubDate>Tue, 23 Sep 2025 12:21:01 GMT</pubDate></item></channel></rss>