<?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[The console does not correctly recognize object properties]]></title><description><![CDATA[<p dir="auto">My program ran fine,  but when I dragged the object properties to the console,  it returned the wrong <a href="http://value.It" target="_blank" rel="noopener noreferrer nofollow ugc">value.It</a>'s very confusing.<br />
Please help me,  thank you!<br />
<img src="https://developers.maxon.net/forum/assets/uploads/files/1583024260958-20200301085146.png" alt="20200301085146.png" class=" img-fluid img-markdown" /></p>
<pre><code>.h file
enum
{
    OBeamlampsGrid = 567678546,
    BEAM_LAMPS_GRID_PLANE = 1000,
    BEAM_LAMPS_GRID_PLANE_XZ = 0,
    BEAM_LAMPS_GRID_PLANE_ZY = 1,
    BEAM_LAMPS_GRID_PLANE_XY = 2,
    BEAM_LAMPS_BEAM_LENGTH = 1001,
    BEAM_LAMPS_ANGLE = 1002,
    BEAM_LAMPS_INTENSITY = 1003,
.....
</code></pre>
<pre><code>.res file
CONTAINER OBeamlampsGrid {
    INCLUDE Obase;
    NAME OBeamlampsGrid;
    GROUP ID_OBJECTPROPERTIES {
        LONG BEAM_LAMPS_GRID_PLANE {
            CYCLE {
                BEAM_LAMPS_GRID_PLANE_XZ;
                BEAM_LAMPS_GRID_PLANE_ZY;
                BEAM_LAMPS_GRID_PLANE_XY;
            }
        }
        REAL BEAM_LAMPS_BEAM_LENGTH { DEFAULT 1500.0; CUSTOMGUI REALSLIDER; MIN 500.0; MAX 50000.0; MINSLIDER 500.0; STEP 100.0; UNIT METER; }
        REAL BEAM_LAMPS_ANGLE { DEFAULT 3.0; CUSTOMGUI REALSLIDER; MIN 3.0; MAX 35.0; MINSLIDER 1.0; MAXSLIDER 45.0; STEP 0.5; UNIT DEGREE; }
        REAL BEAM_LAMPS_INTENSITY { DEFAULT 1.0; CUSTOMGUI REALSLIDER; MIN 0.0; MINSLIDER 0.0; MAXSLIDER 100.0; STEP 1.0; UNIT PERCENT; }
...
</code></pre>
<pre><code>.str file
STRINGTABLE OBeamlampsGrid {
    OBeamlampsGrid "Beam Lamps Grid";
    BEAM_LAMPS_GRID_PLANE "Plane";
        BEAM_LAMPS_GRID_PLANE_XZ "XZ";
        BEAM_LAMPS_GRID_PLANE_ZY "ZY";
        BEAM_LAMPS_GRID_PLANE_XY "XY";
    BEAM_LAMPS_BEAM_LENGTH "Beam Length";
    BEAM_LAMPS_ANGLE "Beam Angle";
    BEAM_LAMPS_INTENSITY "Beam Intensity";
...
</code></pre>
]]></description><link>http://developers.maxon.net/forum/topic/12327/the-console-does-not-correctly-recognize-object-properties</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Apr 2026 17:36:14 GMT</lastBuildDate><atom:link href="http://developers.maxon.net/forum/topic/12327.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 01 Mar 2020 01:02:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to The console does not correctly recognize object properties on Mon, 02 Mar 2020 17:27:56 GMT]]></title><description><![CDATA[<p dir="auto">@zipit</p>
<p dir="auto">This plug-in has a twin plug-in that has some properties with the same name, and I suspect that the properties with the same name cause conflicts (even if the ids are different).I made the modification and it is normal now.</p>
<p dir="auto">Thank you for your reply</p>
<p dir="auto">Cheers</p>
]]></description><link>http://developers.maxon.net/forum/post/61803</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/61803</guid><dc:creator><![CDATA[sean]]></dc:creator><pubDate>Mon, 02 Mar 2020 17:27:56 GMT</pubDate></item><item><title><![CDATA[Reply to The console does not correctly recognize object properties on Mon, 02 Mar 2020 10:21:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/sean">@<bdi>sean</bdi></a> said in <a href="https://developers.maxon.net/forum/post/61781" target="_blank" rel="noopener noreferrer nofollow ugc">The console does not correctly recognize object properties</a>:</p>
<blockquote>
<p dir="auto">I use C++, in the code, I implemented Init(), and my code can correctly identify the properties, the following two methods are no problem:</p>
</blockquote>
<p dir="auto">Hi,</p>
<p dir="auto">jeah, that is what I assumed. Your title is a bit misleading then. It should be something like <em>cannot interface the properties of a node linked to my C++ plugin from Python</em>. Anyways, given the fact that the whole symbol thing tends to be a bit messy when it comes to Python, I would do the following two things:</p>
<ul>
<li>Investigate what the Cinema Python interpreter thinks your plugin symbols imported into the c4d module should resolve too. So for example just type in <code> c4d.BEAM_LAMPS_BEAM_LENGTH</code> and check that it spits out the matching integer.</li>
<li>Iterate over the data container of node that is an instance of a node linked to your plugin and see what is actually in there. Given your screenshot above, where you draged your object into the console, something like the following (you can do that in the console if you dragged your object into it).</li>
</ul>
<pre><code>for cid, val in xBeamLampGrid.GetData():
    print cid, val
</code></pre>
<p dir="auto">You should then report back if these points do what one would expect them to do or not.</p>
<p dir="auto">Cheers<br />
zipit</p>
]]></description><link>http://developers.maxon.net/forum/post/61785</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/61785</guid><dc:creator><![CDATA[ferdinand]]></dc:creator><pubDate>Mon, 02 Mar 2020 10:21:23 GMT</pubDate></item><item><title><![CDATA[Reply to The console does not correctly recognize object properties on Mon, 02 Mar 2020 02:07:45 GMT]]></title><description><![CDATA[<p dir="auto">@zipit said in <a href="https://developers.maxon.net/forum/post/61779" target="_blank" rel="noopener noreferrer nofollow ugc">The console does not correctly recognize object properties</a>:</p>
<p dir="auto">Hello, thank you for your reply.<br />
I use C++, in the code, I implemented Init(), and my code can correctly identify the properties, the following two methods are no problem:</p>
<pre><code>auto a = bc-&gt;GetFloat(BEAM_LAMPS_BEAM_LENGTH);
ApplicationOutput(maxon::String::FloatToString(a));
</code></pre>
<p dir="auto">or</p>
<pre><code>GeData ge;
node-&gt;GetParameter(BEAM_LAMPS_BEAM_LENGTH, ge, DESCFLAGS_GET::NONE);
ApplicationOutput(maxon::String::FloatToString(ge.GetFloat()));
</code></pre>
]]></description><link>http://developers.maxon.net/forum/post/61781</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/61781</guid><dc:creator><![CDATA[sean]]></dc:creator><pubDate>Mon, 02 Mar 2020 02:07:45 GMT</pubDate></item><item><title><![CDATA[Reply to The console does not correctly recognize object properties on Sun, 01 Mar 2020 15:47:51 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I think the important question would be if your obejct's attributes do read out properly directly from C++, via <code>ApplicationOutput()</code> for example? Assuming you are actually on C++ as your tags state. If you are on Python you probably neglected to init your attributes via <code>NodeData.InitAttr()</code>.</p>
<p dir="auto">Cheers,<br />
zipit</p>
]]></description><link>http://developers.maxon.net/forum/post/61779</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/61779</guid><dc:creator><![CDATA[ferdinand]]></dc:creator><pubDate>Sun, 01 Mar 2020 15:47:51 GMT</pubDate></item><item><title><![CDATA[Reply to The console does not correctly recognize object properties on Sun, 01 Mar 2020 13:17:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ashton_fcs_plugindev">@<bdi>Ashton_FCS_PluginDev</bdi></a></p>
<p dir="auto">Thank you for your reply. I have tried the method you said, but it didn't work.<br />
What's more surprising to me is that if I only use the ID of the property, such as xBeamlampsGrid[1001], I can identify it correctly</p>
]]></description><link>http://developers.maxon.net/forum/post/61778</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/61778</guid><dc:creator><![CDATA[sean]]></dc:creator><pubDate>Sun, 01 Mar 2020 13:17:35 GMT</pubDate></item><item><title><![CDATA[Reply to The console does not correctly recognize object properties on Sun, 01 Mar 2020 10:59:19 GMT]]></title><description><![CDATA[<p dir="auto">hi,<br />
I see you trying to see your properties active from your object or tag plugin. Well just try to delete your (symbolcache file)  and restart c4d and it will be fix.<br />
lol I is run into this all the time when making NodeData Plugins.<br />
<img src="https://developers.maxon.net/forum/assets/uploads/files/1583060181117-5ecb46fb-00fa-4221-84b8-faaacc0472c7-image.png" alt="5ecb46fb-00fa-4221-84b8-faaacc0472c7-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">cheers</p>
]]></description><link>http://developers.maxon.net/forum/post/61775</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/61775</guid><dc:creator><![CDATA[Ashton_FCS_PluginDev]]></dc:creator><pubDate>Sun, 01 Mar 2020 10:59:19 GMT</pubDate></item></channel></rss>