<?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 keep data in tag plugin even if restart Cinema 4D]]></title><description><![CDATA[<p dir="auto">i need keep dict data in my tag plugin even if restart cinema 4d. SetWorldPluginData()  maybe useful,but how to get the currect data if i have tag  multiple instances?I'm sorry this may be a basic question, but I didn't find a satisfactory answer.</p>
<p dir="auto">hope your help!</p>
]]></description><link>http://developers.maxon.net/forum/topic/11460/how-to-keep-data-in-tag-plugin-even-if-restart-cinema-4d</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 08:03:15 GMT</lastBuildDate><atom:link href="http://developers.maxon.net/forum/topic/11460.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 02 Apr 2019 09:16:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to keep data in tag plugin even if restart Cinema 4D on Thu, 11 Apr 2019 15:35:16 GMT]]></title><description><![CDATA[<p dir="auto">Please consider to sets the topic as solved if it's the case.<br />
Cheers,<br />
Maxime.</p>
<p dir="auto">EDIT: I've done it, but feel free to set it back to Open if you feel the need to ask more questions.</p>
]]></description><link>http://developers.maxon.net/forum/post/57971</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/57971</guid><dc:creator><![CDATA[m_adam]]></dc:creator><pubDate>Thu, 11 Apr 2019 15:35:16 GMT</pubDate></item><item><title><![CDATA[Reply to How to keep data in tag plugin even if restart Cinema 4D on Thu, 04 Apr 2019 08:25:48 GMT]]></title><description><![CDATA[<p dir="auto">Hi if your topic is solved please consider turning the topic as solved see <a href="https://developers.maxon.net/forum/topic/11004/q-a-new-functionality" target="_blank" rel="noopener noreferrer nofollow ugc">Q&amp;A New Functionality</a>.</p>
<p dir="auto">In addition to the <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/mp5gosu">@<bdi>mp5gosu</bdi></a> message I wanted to point you to the NodeData::Write/Read/CopyTo for more information see the C++ <a href="https://developers.maxon.net/docs/cpp/2023_2/page_manual_nodedata_read_write.html" target="_blank" rel="noopener noreferrer nofollow ugc">NodeData::Read() / NodeData::Write() Manual</a> which will handle to write/read data when c4d close/open a scene.</p>
<p dir="auto">Moreover, if you go to the BaseContainer way and still facing issue with data loading, you may need to react to some message, see <a href="https://developers.maxon.net/docs/cpp/2023_2/page_manual_nodedata_message.html#page_manual_nodedata_message_usage_document" target="_blank" rel="noopener noreferrer nofollow ugc">NodeData::Message</a>.</p>
<p dir="auto">Finally, if you implement the Read/Write make sure to use the disklevel functionality when you register your Plugin. Disklevel can be understood as a plugin version, so if you modify the structure of the data stored you will still be able to read/write your data according to the correct version.</p>
<p dir="auto">Cheers,<br />
Maxime.</p>
]]></description><link>http://developers.maxon.net/forum/post/57885</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/57885</guid><dc:creator><![CDATA[m_adam]]></dc:creator><pubDate>Thu, 04 Apr 2019 08:25:48 GMT</pubDate></item><item><title><![CDATA[Reply to How to keep data in tag plugin even if restart Cinema 4D on Tue, 02 Apr 2019 12:08:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/mp5gosu">@<bdi>mp5gosu</bdi></a> thank you for you answer！</p>
]]></description><link>http://developers.maxon.net/forum/post/57866</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/57866</guid><dc:creator><![CDATA[mike]]></dc:creator><pubDate>Tue, 02 Apr 2019 12:08:17 GMT</pubDate></item><item><title><![CDATA[Reply to How to keep data in tag plugin even if restart Cinema 4D on Tue, 02 Apr 2019 11:48:06 GMT]]></title><description><![CDATA[<p dir="auto">If you don't save, you are responsible to write any data on document close to a custom BaseContainer that is written to your object's container.<br />
And read the container and restore the tag data on loading the document again.</p>
]]></description><link>http://developers.maxon.net/forum/post/57865</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/57865</guid><dc:creator><![CDATA[mp5gosu]]></dc:creator><pubDate>Tue, 02 Apr 2019 11:48:06 GMT</pubDate></item><item><title><![CDATA[Reply to How to keep data in tag plugin even if restart Cinema 4D on Tue, 02 Apr 2019 09:49:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/mp5gosu">@<bdi>mp5gosu</bdi></a> Oh!Thank you for your help! I check my code and find it's my error. Excuse me again, I also find :<br />
1.save project and close<br />
2.open project<br />
3.tag plugin data exists and clear data<br />
4.don't save and recovery project<br />
5.data is null<br />
How to solve this problem,keep data?</p>
]]></description><link>http://developers.maxon.net/forum/post/57864</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/57864</guid><dc:creator><![CDATA[mike]]></dc:creator><pubDate>Tue, 02 Apr 2019 09:49:19 GMT</pubDate></item><item><title><![CDATA[Reply to How to keep data in tag plugin even if restart Cinema 4D on Tue, 02 Apr 2019 09:25:29 GMT]]></title><description><![CDATA[<p dir="auto">Since tags belong to an object and objects are written to disk on save, your tag data should still be available on reload.<br />
Otherwise, you could write a custom BaseContainer with your settings before Cinema 4D gets restarted.</p>
]]></description><link>http://developers.maxon.net/forum/post/57862</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/57862</guid><dc:creator><![CDATA[mp5gosu]]></dc:creator><pubDate>Tue, 02 Apr 2019 09:25:29 GMT</pubDate></item></channel></rss>