<?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 get InExcludeData in ModifyObject]]></title><description><![CDATA[<p dir="auto">hi, this is my code. I can get InExludeData in Message(..) , but it can't work in ModifyObject(..),just print 0.where did i wrong?<br />
hope for your help!</p>
<pre><code>Bool TestObjectPlugin::ModifyObject(BaseObject * mod, BaseDocument * doc, BaseObject * op, const Matrix &amp; op_mg, const Matrix &amp; mod_mg, Float lod, Int32 flags, BaseThread * thread)
{
        GeData gd;
        BaseContainer* data = mod-&gt;GetDataInstance();
	Bool success = data-&gt;GetParameter(DescID(MY_InExludeData),gd);
        if(success){
            if (gd.GetType() == CUSTOMDATATYPE_INEXCLUDE_LIST) 
            {     
           		GePrint("Currect"_s); 
            }        
            else
            { 
           		GePrint(maxon::ToString(gd.GetType(), false));
            }    
         }
}
</code></pre>
]]></description><link>http://developers.maxon.net/forum/topic/11492/how-to-get-inexcludedata-in-modifyobject</link><generator>RSS for Node</generator><lastBuildDate>Sun, 17 May 2026 21:31:30 GMT</lastBuildDate><atom:link href="http://developers.maxon.net/forum/topic/11492.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 17 Apr 2019 12:38:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to get InExcludeData in ModifyObject on Fri, 19 Apr 2019 03:22:17 GMT]]></title><description><![CDATA[<p dir="auto">@m_magalhaes Thank you for your answer. really helpful!</p>
]]></description><link>http://developers.maxon.net/forum/post/58055</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/58055</guid><dc:creator><![CDATA[mike]]></dc:creator><pubDate>Fri, 19 Apr 2019 03:22:17 GMT</pubDate></item><item><title><![CDATA[Reply to How to get InExcludeData in ModifyObject on Thu, 18 Apr 2019 10:26:35 GMT]]></title><description><![CDATA[<p dir="auto">hello,</p>
<p dir="auto">I've run some test and it print 0 if i do not initialize the gadget. Once i drop an object on the in-exclude list it's working correctly.</p>
<p dir="auto">So did you have initialize the gadget in your Init() function ?</p>
<p dir="auto">something like so in your case.</p>
<pre><code>BaseObject*		 op = (BaseObject*)node;
BaseContainer* data = op-&gt;GetDataInstance();

data-&gt;SetData(MY_InExludeData, GeData(CUSTOMDATATYPE_INEXCLUDE_LIST, DEFAULTVALUE));
	
</code></pre>
<p dir="auto">Cheers<br />
Manuel</p>
]]></description><link>http://developers.maxon.net/forum/post/58050</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/58050</guid><dc:creator><![CDATA[Manuel]]></dc:creator><pubDate>Thu, 18 Apr 2019 10:26:35 GMT</pubDate></item><item><title><![CDATA[Reply to How to get InExcludeData in ModifyObject on Thu, 18 Apr 2019 01:13:12 GMT]]></title><description><![CDATA[<p dir="auto">Maybe I  know the reason why it  error in my project,ModifyObject  will be call  when  under  the currect object,and success  valuse  always  True ,even  InExcludeData == nullptr.</p>
]]></description><link>http://developers.maxon.net/forum/post/58045</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/58045</guid><dc:creator><![CDATA[mike]]></dc:creator><pubDate>Thu, 18 Apr 2019 01:13:12 GMT</pubDate></item></channel></rss>