<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Plugin serialization in Maya Programming Forum</title>
    <link>https://forums.autodesk.com/t5/maya-programming-forum/plugin-serialization/m-p/6557535#M12777</link>
    <description>&lt;P&gt;I have a fairly simple C++ API plugin that is designed to respond to some internal system events and perform some external functions. &amp;nbsp;It does not create a DAG node, or interact with the overall scene, but does access some properties of objects in it. &amp;nbsp;There are several preset values that it needs to persist over loads of the scene file, and I'm trying to figure out where to put the values. &amp;nbsp;I could just create an external file just for the plugin, I suppose, but that seems inelegant and incorrect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an official way to store and retrieve data values in the scene file? &amp;nbsp;Do I have to create a dummy node, perhaps, and attach some attributes to it? &amp;nbsp;I've searched in the forums but could not find anything that seemed to apply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SteveB&lt;/P&gt;</description>
    <pubDate>Mon, 12 Sep 2016 18:08:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-09-12T18:08:17Z</dc:date>
    <item>
      <title>Plugin serialization</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/plugin-serialization/m-p/6557535#M12777</link>
      <description>&lt;P&gt;I have a fairly simple C++ API plugin that is designed to respond to some internal system events and perform some external functions. &amp;nbsp;It does not create a DAG node, or interact with the overall scene, but does access some properties of objects in it. &amp;nbsp;There are several preset values that it needs to persist over loads of the scene file, and I'm trying to figure out where to put the values. &amp;nbsp;I could just create an external file just for the plugin, I suppose, but that seems inelegant and incorrect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an official way to store and retrieve data values in the scene file? &amp;nbsp;Do I have to create a dummy node, perhaps, and attach some attributes to it? &amp;nbsp;I've searched in the forums but could not find anything that seemed to apply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SteveB&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 18:08:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/plugin-serialization/m-p/6557535#M12777</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-12T18:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Plugin serialization</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/plugin-serialization/m-p/6559545#M12778</link>
      <description>&lt;P&gt;Answering my own question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To create persistent data information, create a script node that is executed on file-open, that runs&amp;nbsp;a script to assign a unique global variable to whatever value you desire. &amp;nbsp;When your internal data is modified, edit the named script node (or create it if it does not exist) to update the persistent&amp;nbsp;assignment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Not sure if this is the best solution, if it's not, corrections solicited.)&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 16:00:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/plugin-serialization/m-p/6559545#M12778</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-13T16:00:47Z</dc:date>
    </item>
    <item>
      <title>autocad lisense</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/plugin-serialization/m-p/9479003#M12779</link>
      <description>&lt;P&gt;autocad lisense&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 08:08:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/plugin-serialization/m-p/9479003#M12779</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-29T08:08:11Z</dc:date>
    </item>
  </channel>
</rss>

