<?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[Access GradientCustomGui in NodeData::GetDDescription]]></title><description><![CDATA[<p dir="auto">I am trying to apply changes to a plugin description based on the currently selected knot in a gradient parameter. It seems that the currently active knot can be retrieved from the <code>GradientCustomGui::GetActiveKnot(..)</code> function. The question is how to access the <code>GradientCustomGui</code> instance when the gradient is not created in a custom dialog.<br />
One way I considered was implementing a <code>CustomGuiData</code>, in which the gradient will be allocated in the <code>iCustomGui::CreateLayout()</code> implementation for the GUI, but then again this custom GUI will not be accessible in the <code>NodeData::GetDDescription(..)</code> implementation. Which leaves the only option to implement the functionality in the custom GUI itself, but that makes the data management much more complicated, so I am searching for the least complex option.<br />
Am I missing something that would allow the access to the <code>GradientCustomGui</code> instance in the node itself?</p>
<p dir="auto">Cheers and Happy New Year,<br />
Deyan</p>
]]></description><link>http://developers.maxon.net/forum/topic/13104/access-gradientcustomgui-in-nodedata-getddescription</link><generator>RSS for Node</generator><lastBuildDate>Wed, 17 Jun 2026 09:51:37 GMT</lastBuildDate><atom:link href="http://developers.maxon.net/forum/topic/13104.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 07 Jan 2021 16:18:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Access GradientCustomGui in NodeData::GetDDescription on Mon, 18 Jan 2021 14:41:08 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/m_adam">@<bdi>m_adam</bdi></a>, thanks for the effort. I suspected it will not be possible without a custom GUI/data implementation - I guess I will go with this approach.</p>
<p dir="auto">Cheers,<br />
Deyan</p>
]]></description><link>http://developers.maxon.net/forum/post/65602</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/65602</guid><dc:creator><![CDATA[Deyan]]></dc:creator><pubDate>Mon, 18 Jan 2021 14:41:08 GMT</pubDate></item><item><title><![CDATA[Reply to Access GradientCustomGui in NodeData::GetDDescription on Wed, 13 Jan 2021 15:26:57 GMT]]></title><description><![CDATA[<p dir="auto">Ok after more research the only workaround possible I found is to extend the CustomGui to handle it as you suggested.</p>
<p dir="auto">Since data are only stored on the CustomGui there is no real way to pass the data back to the description, since there is no CustomGui when data are accessed via description.</p>
<p dir="auto">Cheers,<br />
Maxime.</p>
]]></description><link>http://developers.maxon.net/forum/post/65571</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/65571</guid><dc:creator><![CDATA[m_adam]]></dc:creator><pubDate>Wed, 13 Jan 2021 15:26:57 GMT</pubDate></item><item><title><![CDATA[Reply to Access GradientCustomGui in NodeData::GetDDescription on Mon, 11 Jan 2021 11:16:57 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/deyan">@<bdi>Deyan</bdi></a> just to let you know I'm working on it.<br />
Like you, I think for the moment is to define your own CustomGui and CustomDataTypeClass to be able to use in resources files. But I will try to come with an example within the day or tomorrow <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 />
Maxime.</p>
]]></description><link>http://developers.maxon.net/forum/post/65547</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/65547</guid><dc:creator><![CDATA[m_adam]]></dc:creator><pubDate>Mon, 11 Jan 2021 11:16:57 GMT</pubDate></item></channel></rss>