<?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[In&#x2F;Exclude List Accept&#x2F;Refuse]]></title><description><![CDATA[<p dir="auto"><em>On 04/05/2018 at 10:33, <strong>xxxxxxxx</strong> wrote:</em></p>
<p dir="auto">Hello.</p>
<p dir="auto">I'd like the In/Exclude lists on my object node plugin to only accept objects that cache to polygons.  I'm aware of the ACCEPT/REFUSE flags in the .res file but as far as I can tell the ids expected here are <a href="https://developers.maxon.net/docs/py/2023_2/types/objects.html" target="_blank" rel="noopener noreferrer nofollow ugc">Object Types</a>.</p>
<p dir="auto">I suppose one solution would be to build a list of accepted object types, but in that case my In/Exclude list would not accept objects defined in plugins.</p>
<p dir="auto">The last option I can think of would be to use a list of refused object types.  This would accept objects defined in plugins, but would also accept non-polygonal objects defined in plugins!</p>
<p dir="auto">Is there anyway to indicate to my In/Exclude list that I want to accept only objects that contain polygonal caches?</p>
]]></description><link>http://developers.maxon.net/forum/topic/10773/14217_inexclude-list-acceptrefuse</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 16:46:47 GMT</lastBuildDate><atom:link href="http://developers.maxon.net/forum/topic/10773.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 01 Sep 2018 10:29:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to In&#x2F;Exclude List Accept&#x2F;Refuse on Sat, 01 Sep 2018 10:29:06 GMT]]></title><description><![CDATA[<p dir="auto"><em>On 07/05/2018 at 06:05, <strong>xxxxxxxx</strong> wrote:</em></p>
<p dir="auto">Hi darby, thanks for writing us</p>
<p dir="auto">Actually the desired mechanism can be achieved by overriding the <a href="https://developers.maxon.net/docs/py/2023_2/modules/c4d.plugins/BaseData/NodeData/index.html?highlight=setdparameter" target="_blank" rel="noopener noreferrer nofollow ugc">NodeData::SetDParameter()</a> method in your ObjectData() class. There you can check if the objects which the user is attempting to include in your list are "allowed" and eventually proceed to create a new <a href="https://developers.maxon.net/docs/py/2023_2/modules/c4d/CustomDataType/InExcludeData/index.html?highlight=inexcludedata#" target="_blank" rel="noopener noreferrer nofollow ugc">c4d.InExcludeData()</a> based on this allowed object which will then be used for the in/exclude list.</p>
<p dir="auto">Hoping it helps, give best.<br />
Riccardo</p>
]]></description><link>http://developers.maxon.net/forum/post/54909</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/54909</guid><dc:creator><![CDATA[Helper]]></dc:creator><pubDate>Sat, 01 Sep 2018 10:29:06 GMT</pubDate></item></channel></rss>