<?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[ChangeNBit() Method Parameter Issue: c4d.AHIDE_FOR_HOST Not Recognized?]]></title><description><![CDATA[<p dir="auto">I've identified an apparent invalid parameter error with GeListNode.ChangeNBit() in C4D 2024. Specifically, c4d.AHIDE_FOR_HOST throws an AttributeError, conflicting with its presence in the R20+ SDK documentation. Any insights on why this parameter isn't recognized?</p>
<pre><code>import c4d

doc.StartUndo()
doc.AddUndo(c4d.UNDOTYPE_CHANGE, op)

op.ChangeNBit(c4d.AHIDE_FOR_HOST, c4d.NBITCONTROL_SET) # error

doc.EndUndo()
c4d.EventAdd()
</code></pre>
<p dir="auto">error</p>
<pre><code>Traceback (most recent call last):
  File "scriptmanager", line 6, in &lt;module&gt;
AttributeError: module 'c4d' has no attribute 'AHIDE_FOR_HOST'
</code></pre>
]]></description><link>http://developers.maxon.net/forum//topic/16260/changenbit-method-parameter-issue-c4d-ahide_for_host-not-recognized</link><generator>RSS for Node</generator><lastBuildDate>Sat, 14 Mar 2026 08:58:59 GMT</lastBuildDate><atom:link href="http://developers.maxon.net/forum//topic/16260.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 01 Jun 2025 14:56:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ChangeNBit() Method Parameter Issue: c4d.AHIDE_FOR_HOST Not Recognized? on Mon, 02 Jun 2025 21:59:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ferdinand">@<bdi>ferdinand</bdi></a> Thansk!</p>
]]></description><link>http://developers.maxon.net/forum//post/76546</link><guid isPermaLink="true">http://developers.maxon.net/forum//post/76546</guid><dc:creator><![CDATA[kangddan]]></dc:creator><pubDate>Mon, 02 Jun 2025 21:59:48 GMT</pubDate></item><item><title><![CDATA[Reply to ChangeNBit() Method Parameter Issue: c4d.AHIDE_FOR_HOST Not Recognized? on Mon, 02 Jun 2025 14:54:11 GMT]]></title><description><![CDATA[<p dir="auto">Hey <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/kangddan">@<bdi>kangddan</bdi></a>,</p>
<p dir="auto">Thank you for reaching out to us. The module attribute is <code>NBIT_AHIDE_FOR_HOST</code>. The line there in the docs might have been written when we still exposed symbols manually (and were a little bit inconsistent - these days symbols are exposed automatically) or always has been incorrect. But our documentation is still managed manually, something I probably should change, but that will also cost time.</p>
<p dir="auto">When unsure, you can always search <code>{c4d}\resource\modules\python\libs\python311\c4d\__init__.py</code>, as this is where all the <code>c4d</code> symbols are defined. Or you just search <code>{c4d}\resource\modules\python\libs\python311\</code> and with that the whole API. Last but not least, symbols are always just that - symbols - and you can also just use the raw value directly lifted from the C++ API frameworks (when something has not correctly been exposed for some reason). That would have been <code>95</code> in this case:</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1748876044661-7b00fa89-e28d-4284-a4cb-67ee072f9d82-image.png" alt="7b00fa89-e28d-4284-a4cb-67ee072f9d82-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I have updated the Python docs for this member of NBIT to be named as <code>c4d.NBIT_AHIDE_FOR_HOST</code>.</p>
<p dir="auto">Cheers,<br />
Ferdinand</p>
]]></description><link>http://developers.maxon.net/forum//post/76544</link><guid isPermaLink="true">http://developers.maxon.net/forum//post/76544</guid><dc:creator><![CDATA[ferdinand]]></dc:creator><pubDate>Mon, 02 Jun 2025 14:54:11 GMT</pubDate></item></channel></rss>