<?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[renderpal submission integration]]></title><description><![CDATA[<p dir="auto"><em>On 14/03/2014 at 06:16, <strong>xxxxxxxx</strong> wrote:</em></p>
<p dir="auto">anyone working on a python plugin to integrate renderpal with C4D?<br />
I have a basic framework started, but as I dont want to reinvent the wheel. maybe someone has already done some work on it, and wants to share.</p>
<p dir="auto">the basic engine is working, but I am struggling with the gui part in C4D.</p>
<p dir="auto">I dont seem to be able to publish text inputs or buttons on the canvas of my GeDialog() I opened.</p>
<p dir="auto">I also tried the example script, but that doesnt display anything in the pop up window as well.</p>
<p dir="auto">import c4d<br />
from c4d import gui</p>
<p dir="auto">GROUP_ID=1000<br />
TEXTBOX=1001<br />
BUTTON1=1002<br />
BUTTON2=1003</p>
<p dir="auto">class exampleDlg(gui.GeDialog) :<br />
def CreateLayout(self) :<br />
#create the layout of the dialog<br />
self.GroupBegin(GROUP_ID1, c4d.BFH_SCALEFIT, 3, 1)<br />
self.AddEditText(TEXTBOX, c4d.BFH_SCALEFIT)<br />
self.AddButton(BUTTON1, c4d.BFH_SCALE, name="MessageDialog")<br />
self.AddButton(BUTTON2, c4d.BFH_SCALE, name="Close")<br />
self.GroupEnd()<br />
return True</p>
<pre><code>def InitValues(self) :
	self.SetString(TEXTBOX, "Hello World")
	return True


def Command(self, id, msg) :
	if id == BUTTON1:
		gui.MessageDialog(self.GetString(TEXTBOX))
	elif id == BUTTON2:
		self.Close()
	return True
</code></pre>
<p dir="auto">dlg = ExampleDlg()<br />
dlg.Open(c4d.DLG_TYPE_MODAL, defaultw=300, defaulth=50)</p>
]]></description><link>http://developers.maxon.net/forum/topic/7757/9892_renderpal-submission-integration</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Apr 2026 15:25:03 GMT</lastBuildDate><atom:link href="http://developers.maxon.net/forum/topic/7757.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 10 May 2018 14:52:09 GMT</pubDate><ttl>60</ttl></channel></rss>