<?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[GroupBorderNoTitle change GUI or flags after user input]]></title><description><![CDATA[<p dir="auto">Dear developers,</p>
<p dir="auto">I would like to change the appearance of a group with these nice border styles after the user interacted with the interface. (inserting a filepath)</p>
<pre><code>self.GroupBorderNoTitle(c4d.BORDER_NONE) # filepath fine
self.GroupBorderNoTitle(c4d.BORDER_ACTIVE_4) # orange filepath empty
self.GroupBorderNoTitle(c4d.BORDER_ACTIVE_3) # red filepath does not exist
</code></pre>
<p dir="auto">I have a  <code>def Command(self, id, msg):</code> section which checks the inputs but I cannot "change" the interface cosmetically in this section - still  <code>self.SetString(1103, str(self.folder))</code> works as intended ...</p>
<p dir="auto">how would this be feasible for changing elements where no dedicated "SET" is available.</p>
<p dir="auto">thank you for your time.<br />
mogh</p>
]]></description><link>http://developers.maxon.net/forum/topic/13170/groupbordernotitle-change-gui-or-flags-after-user-input</link><generator>RSS for Node</generator><lastBuildDate>Mon, 05 Oct 2026 12:06:27 GMT</lastBuildDate><atom:link href="http://developers.maxon.net/forum/topic/13170.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 05 Feb 2021 20:11:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to GroupBorderNoTitle change GUI or flags after user input on Mon, 08 Feb 2021 10:30:30 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/mogh">@<bdi>mogh</bdi></a>,</p>
<p dir="auto">thank you for reaching out to us and thank you <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/mp5gosu">@<bdi>mp5gosu</bdi></a> for providing help. I think the most meaningful thing I can say is that <code>GeDialog</code> is pretty forgiving and not as strict as the sum of its methods might imply; at least that was my insight to be gained when I encountered the class first. Since you said you consider this to be still rough, here are some tips that might be helpful.</p>
<p dir="auto">All following method references are members of <code>GeDialog</code>.</p>
<ul>
<li>You can define and load file based resources for dialogs, just like it is implicitly done with descriptions, with <code>LoadDialogResource</code>. This helps to clean up <code>GeDialog</code> implementations from the inherent clutter that comes with complex interface definitions. You can also do this to some extent in a modular fashion, i.e., invoking <code>LoadDialogResource</code> multiple times will not replace the former content but instead append new content.</li>
<li><code>CreateLayout</code> is mostly a convenience method. Or in other words, there is nothing which does prevent you from modifying the resource of a dialog from anywhere else where you have access to the dialog instance (be careful with threading though).</li>
<li>Resources are organized in groups and you can flush these groups with <code>LayoutFlushGroup</code>, for example to rebuild them on user interaction. Single arbitrary elements can be removed by invoking <code>RemoveElement</code>. The relevant methods are all grouped under <em>Dialog Change Methods</em> in the <a href="https://developers.maxon.net/docs/py/2023_2/modules/c4d.gui/GeDialog/index.htm" target="_blank" rel="noopener noreferrer nofollow ugc">GeDialog documentation</a>.</li>
</ul>
<p dir="auto">If anything remains unclear, please do not hesitate to ask.</p>
<p dir="auto">Cheers,<br />
Ferdinand</p>
]]></description><link>http://developers.maxon.net/forum/post/65784</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/65784</guid><dc:creator><![CDATA[ferdinand]]></dc:creator><pubDate>Mon, 08 Feb 2021 10:30:30 GMT</pubDate></item><item><title><![CDATA[Reply to GroupBorderNoTitle change GUI or flags after user input on Sat, 06 Feb 2021 17:04:20 GMT]]></title><description><![CDATA[<p dir="auto">Thanks <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/mp5gosu">@<bdi>mp5gosu</bdi></a></p>
<p dir="auto">you pointed me in the right direction I have some working code for now, even though I fear that I don't know what I am doing with all these classes <img src="http://developers.maxon.net/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f64f.png?v=0b8ddba251d" class="not-responsive emoji emoji-android emoji--pray" style="height:23px;width:auto;vertical-align:middle" title=":pray:" alt="🙏" /></p>
<p dir="auto">this script example helped me a little bit even though its pretty rough</p>
<p dir="auto"><a href="https://github.com/PluginCafe/cinema4d_py_sdk_extended/blob/master/scripts/03_application_development/gui/dialog/customgui_quicktab_r19.py" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/PluginCafe/cinema4d_py_sdk_extended/blob/master/scripts/03_application_development/gui/dialog/customgui_quicktab_r19.py</a></p>
<p dir="auto">kind regards mogh</p>
]]></description><link>http://developers.maxon.net/forum/post/65767</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/65767</guid><dc:creator><![CDATA[mogh]]></dc:creator><pubDate>Sat, 06 Feb 2021 17:04:20 GMT</pubDate></item><item><title><![CDATA[Reply to GroupBorderNoTitle change GUI or flags after user input on Fri, 05 Feb 2021 22:12:29 GMT]]></title><description><![CDATA[<p dir="auto">Hello mogh.</p>
<p dir="auto">I usually come over such tasks by having a helper routine that does the layout (re-)building.<br />
In that routine, I can freely decide the gadget's appearance based on certain conditions. After rebuilding, the "old" gadgets have to be removed and replaced by the new ones and the only thing that's left is the <a href="https://developers.maxon.net/docs/py/2023_2/modules/c4d.gui/GeDialog/index.html?highlight=gedialog#GeDialog.LayoutChanged" target="_blank" rel="noopener noreferrer nofollow ugc">refreshing</a> of the dialog. Note that this only works for dynamic gadgets/groups.</p>
]]></description><link>http://developers.maxon.net/forum/post/65765</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/65765</guid><dc:creator><![CDATA[mp5gosu]]></dc:creator><pubDate>Fri, 05 Feb 2021 22:12:29 GMT</pubDate></item></channel></rss>