<?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[Unable to Retrieve the Input Port of Value Node]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I've been able to retrive the value of redshift input ports using the following. Works as expected.</p>
<pre><code>port_str = "com.redshift3d.redshift4c4d.nodes.core.standardmaterial.refl_weight"
input_port = standard_node.GetInputs().FindChild(port_str)
</code></pre>
<p dir="auto">However, retrieving the port of built-in nodes gives me null</p>
<pre><code>port_str = "net.maxon.description.data.base.defaultvalue"
input_port = value_node.GetInputs().FindChild(port_str) # This gives me null
</code></pre>
<p dir="auto">The port_str is what is also reflected in the resource editor.</p>
<p dir="auto">Are there specific method for retrieving the input of the value node?</p>
<p dir="auto"><img src="https://developers.maxon.net/forum/assets/uploads/files/1674126783112-d57d06ff-27c1-4564-bfec-2c1dbc001003-image.png" alt="d57d06ff-27c1-4564-bfec-2c1dbc001003-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>http://developers.maxon.net/forum/topic/14356/unable-to-retrieve-the-input-port-of-value-node</link><generator>RSS for Node</generator><lastBuildDate>Fri, 05 Jun 2026 21:57:36 GMT</lastBuildDate><atom:link href="http://developers.maxon.net/forum/topic/14356.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 19 Jan 2023 11:15:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unable to Retrieve the Input Port of Value Node on Thu, 19 Jan 2023 14:45:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/manuel">@<bdi>manuel</bdi></a> said in <a href="https://developers.maxon.net/forum/post/70608" target="_blank" rel="noopener noreferrer nofollow ugc">Unable to Retrieve the Input Port of Value Node</a>:</p>
<blockquote>
<p dir="auto">port =  node.GetInputs().FindChild("in")</p>
</blockquote>
<p dir="auto">Ah I gotcha. I always forget about displaying IDs in hte preferences since I'm hopping between old and newest versions of C4D. My bad.</p>
<p dir="auto">Anyhow, works as expected.</p>
]]></description><link>http://developers.maxon.net/forum/post/70609</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/70609</guid><dc:creator><![CDATA[bentraje]]></dc:creator><pubDate>Thu, 19 Jan 2023 14:45:41 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to Retrieve the Input Port of Value Node on Thu, 19 Jan 2023 13:07:31 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">this ID of this port is just "in"</p>
<p dir="auto"><img src="https://developers.maxon.net/forum/assets/uploads/files/1674133465737-6acf87aa-b23d-48e8-967a-a333d4bd6b6f-image.png" alt="6acf87aa-b23d-48e8-967a-a333d4bd6b6f-image.png" class=" img-fluid img-markdown" /></p>
<pre><code>       port =  node.GetInputs().FindChild("in")
</code></pre>
<p dir="auto">You can display the IDs in the preferences -&gt; Node Editor.<br />
You can also copy the node and paste it to a text editor.</p>
<p dir="auto">"net.maxon.description.data.base.defaultvalue" is the ID for the default value of the port.</p>
<p dir="auto">Cheers,<br />
Manuel</p>
]]></description><link>http://developers.maxon.net/forum/post/70608</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/70608</guid><dc:creator><![CDATA[Manuel]]></dc:creator><pubDate>Thu, 19 Jan 2023 13:07:31 GMT</pubDate></item></channel></rss>