<?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[ActiveObjectManager_SetObject gets overruled by Xpresso tag]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I am creating a GeUserArea, SceneHook and multiple NodeData derived objects. Each NodeData derived object represents a custom tool I am providing to interact with my GeUserArea. Since each custom tool allows for parameters to be set, I also have registered a description for each nodedata. Each custom tool gets activated by a CommandData.</p>
<p dir="auto">When the user selects a CommandData, this will "activate" the corresponding NodeData, which perform a:</p>
<pre><code>ActiveObjectManager_SetObject(ACTIVEOBJECTMODE::NODE, nodedata, ACTIVEOBJECTMANAGER_SETOBJECTS_OPEN);
</code></pre>
<p dir="auto">With this all parameters available in the description are available in the Attribute Manager.</p>
<p dir="auto">This all works fine, except when an Xpresso tag is present in the scene.<br />
In that case, when the user selects a custom tool, the tool's description is shown in the Attribute Manager for a split second, and directly gets replaced by the first active node in the first Xpresso tag of the scene file.</p>
<p dir="auto">On other occasions, the custom tools' description is left as is, but as soon as one selects an attribute, the description gets replaced by a node of the Xpresso tag.</p>
<p dir="auto">When no nodes are active in any Xpresso tag, then the custom tool's description is replaced by an empty pane.</p>
<p dir="auto">In all scenario's tested, as soon as I remove the Xpresso tag(s) all is working as expected.<br />
Additionally, when I save such scene file (with Xpresso included), and revert to that saved file: all is working as expected ... until I remove the existing Xpresso tag and create a new one.</p>
<p dir="auto">Tested with R19, R20, R21. All behave the same way.</p>
]]></description><link>http://developers.maxon.net/forum/topic/13332/activeobjectmanager_setobject-gets-overruled-by-xpresso-tag</link><generator>RSS for Node</generator><lastBuildDate>Mon, 16 Nov 2026 09:26:26 GMT</lastBuildDate><atom:link href="http://developers.maxon.net/forum/topic/13332.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 25 Apr 2021 14:04:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ActiveObjectManager_SetObject gets overruled by Xpresso tag on Fri, 30 Apr 2021 13:46:48 GMT]]></title><description><![CDATA[<p dir="auto">Seems the only solution here is to register an own mode.</p>
]]></description><link>http://developers.maxon.net/forum/post/66479</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/66479</guid><dc:creator><![CDATA[C4DS]]></dc:creator><pubDate>Fri, 30 Apr 2021 13:46:48 GMT</pubDate></item><item><title><![CDATA[Reply to ActiveObjectManager_SetObject gets overruled by Xpresso tag on Mon, 26 Apr 2021 12:49:27 GMT]]></title><description><![CDATA[<p dir="auto">Makes sense when you explain it.<br />
I had the idea I had to use the node mode, since I was using NodeData. But it being reserved for Xpresso nodes makes more sense. Thanks for bringing this to my attention.</p>
<p dir="auto">I will try using a different mode, or make my own ... and let you know.<br />
Thanks.</p>
]]></description><link>http://developers.maxon.net/forum/post/66402</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/66402</guid><dc:creator><![CDATA[C4DS]]></dc:creator><pubDate>Mon, 26 Apr 2021 12:49:27 GMT</pubDate></item><item><title><![CDATA[Reply to ActiveObjectManager_SetObject gets overruled by Xpresso tag on Mon, 26 Apr 2021 10:41:16 GMT]]></title><description><![CDATA[<p dir="auto">hi,</p>
<p dir="auto">I'm not sure if i really understand what you are doing, but <code>ACTIVEOBJECTMODE::NODE</code> is probably not the right mode you want to use in ActiveObjectManager_SetObject.</p>
<p dir="auto">As said in <a href="https://developers.maxon.net/docs/cpp/2023_2/group___a_c_t_i_v_e_o_b_j_e_c_t_m_o_d_e.html#ga0441fd405c5a75715247a6eb3e79210e" target="_blank" rel="noopener noreferrer nofollow ugc">the documentation</a> this is the Xpresso Node mode.<br />
I wouldn't be surprised that the problem you are facing is coming from this parameter.</p>
<p dir="auto">You could maybe <a href="https://developers.maxon.net/docs/cpp/2023_2/group__group__activeobjectmanagerlibrary.html#gae4a9ff9cc32efdfb6480f17db101da1c" target="_blank" rel="noopener noreferrer nofollow ugc">register your own mode</a> or use one of those  (sorry, i didn't tried myself) <code>ACTIVEOBJECTMODE::NONE</code>, <code>OBJECT </code>, <code>DUMMY</code></p>
<p dir="auto">Let me know if this solved the issue. Otherwise we will need to share some code or more explanation so i fully understand what you are trying to achieve <img src="http://developers.maxon.net/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=0b8ddba251d" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">Cheers,<br />
Manuel</p>
]]></description><link>http://developers.maxon.net/forum/post/66400</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/66400</guid><dc:creator><![CDATA[Manuel]]></dc:creator><pubDate>Mon, 26 Apr 2021 10:41:16 GMT</pubDate></item></channel></rss>