<?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[How to handle AddDependence hh deprecation in 2024 onwards]]></title><description><![CDATA[<p dir="auto">I have an ObjectPlugin written in Python.</p>
<p dir="auto">It implements <strong>def GetVirtualObjects(self, op, hierarchyhelp)</strong></p>
<p dir="auto">Inside I am calling AddDependence</p>
<p dir="auto">The following code produces an warning in 2024 and 2025: <strong>PendingDeprecationWarning: The 'hh' argument is not used since 2024.0 and will be removed in 2025.0</strong>. Since it is happening in GetVirtualObjects this error gets printed out 100's of thousands of times currently, leading to an eventual lockup.</p>
<pre><code>for obj in ObjList:
	op.AddDependence(hierarchyhelp, obj)
</code></pre>
<p dir="auto">It seems that I can't simply remove <strong>hierarchyhelp</strong> since that causes another error.</p>
<p dir="auto">I can't seem to find any documentation on this other than to say that hh is deprecated, but no additional info saying what we should do to fix it. Since the help <a href="https://developers.maxon.net/docs/py/2025_1_0/modules/c4d/C4DAtom/GeListNode/BaseList2D/BaseObject/index.html?highlight=adddependence#BaseObject.AddDependence" target="_blank" rel="noopener noreferrer nofollow ugc">docs</a> still contain hierarchyhelp as the first input to the method.</p>
<p dir="auto">Thanks,<br />
Kent</p>
]]></description><link>http://developers.maxon.net/forum/topic/16021/how-to-handle-adddependence-hh-deprecation-in-2024-onwards</link><generator>RSS for Node</generator><lastBuildDate>Thu, 12 Nov 2026 06:53:34 GMT</lastBuildDate><atom:link href="http://developers.maxon.net/forum/topic/16021.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 17 Feb 2025 22:46:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to handle AddDependence hh deprecation in 2024 onwards on Fri, 16 May 2025 10:00:44 GMT]]></title><description><![CDATA[<p dir="auto">Hey <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/kbar">@<bdi>kbar</bdi></a>,</p>
<p dir="auto">Thank you for reaching out to us and the heads up, much appreciated. Looks like we forgot to update the function documentation, because the change is in the change notes. I updated the docs for the upcoming release.</p>
<p dir="auto">Cheers,<br />
Ferdinand</p>
]]></description><link>http://developers.maxon.net/forum/post/76452</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/76452</guid><dc:creator><![CDATA[ferdinand]]></dc:creator><pubDate>Fri, 16 May 2025 10:00:44 GMT</pubDate></item><item><title><![CDATA[Reply to How to handle AddDependence hh deprecation in 2024 onwards on Thu, 15 May 2025 04:27:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ferdinand">@<bdi>ferdinand</bdi></a> Looks like the issue I outlined above has been fixed in 2025.2.0 which is great. Thank you for that.</p>
<p dir="auto">It looks like we now need to remove that parameter from the Python documentation since it still has the parameter and my code only now seems to work if I remove hh</p>
<pre><code>BaseObject.AddDependence(self, hh, op, dirtyflags=DIRTYFLAGS_DATA | DIRTYFLAGS_MATRIX)
</code></pre>
<p dir="auto">Should be</p>
<pre><code>BaseObject.AddDependence(self, op, dirtyflags=DIRTYFLAGS_DATA | DIRTYFLAGS_MATRIX)
</code></pre>
<p dir="auto">Which is a breaking change for any plugin that relies on GetVirtualObjects and touching dependent objects to hide them from being rendered in the scene.</p>
]]></description><link>http://developers.maxon.net/forum/post/76447</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/76447</guid><dc:creator><![CDATA[kbar]]></dc:creator><pubDate>Thu, 15 May 2025 04:27:37 GMT</pubDate></item><item><title><![CDATA[Reply to How to handle AddDependence hh deprecation in 2024 onwards on Wed, 19 Feb 2025 11:32:21 GMT]]></title><description><![CDATA[<p dir="auto">Hey <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/kbar">@<bdi>kbar</bdi></a>,</p>
<p dir="auto">I hope you are well! Since I just answered a similar question in another topic, I am also answering here. We never make any guarantees regarding when something will be released in SDKs. And more-over, we never name upcoming Cinema 4D versions explicitly or when they will arrive. This also includes seemingly insignificant information such as if the next version will be a minor or a major version increment.</p>
<p dir="auto">Please note that you as Maxon Registered Developer are bound by an NDA and also cannot disclose such information to the public.</p>
<p dir="auto">But yes, I am pretty sure Maxime meant the next upcoming release.</p>
<p dir="auto">Cheers,<br />
Ferdinand</p>
]]></description><link>http://developers.maxon.net/forum/post/75872</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/75872</guid><dc:creator><![CDATA[ferdinand]]></dc:creator><pubDate>Wed, 19 Feb 2025 11:32:21 GMT</pubDate></item><item><title><![CDATA[Reply to How to handle AddDependence hh deprecation in 2024 onwards on Wed, 19 Feb 2025 22:31:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/m_adam">@<bdi>m_adam</bdi></a> that is unfortunate.</p>
]]></description><link>http://developers.maxon.net/forum/post/75866</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/75866</guid><dc:creator><![CDATA[kbar]]></dc:creator><pubDate>Wed, 19 Feb 2025 22:31:24 GMT</pubDate></item><item><title><![CDATA[Reply to How to handle AddDependence hh deprecation in 2024 onwards on Tue, 18 Feb 2025 08:54:25 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/kbar">@<bdi>kbar</bdi></a> sadly there is no way to suppress this warning, I removed the hh argument for the next version, thanks for the reminder.</p>
<p dir="auto">Cheers,<br />
Maxime.</p>
]]></description><link>http://developers.maxon.net/forum/post/75852</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/75852</guid><dc:creator><![CDATA[m_adam]]></dc:creator><pubDate>Tue, 18 Feb 2025 08:54:25 GMT</pubDate></item></channel></rss>