[C++ SDK] plug-in settings to XML


(Menno Deij - van Rijswijk) #1

In RhinoCommon I was used to plug-in settings ending up in
%AppData%\McNeel\Rhinoceros\5.0\Plug-ins<guid>\settings.xml

But, in this knowledge base page, I find that for C++ plug-ins the settings are written to the registry.

Is it also possible to use the XML file method in C++?


(Steve Baer) #2

No, you would need to do your own xml I/O when the virtual loadprofile/saveprofile functions are called.

In V6, we have wired up the code so the C++ plug-ins use RhinoCommon’s PersistentSettings class for saving/loading settings so plug-ins will all write xml in V6.


(Menno Deij - van Rijswijk) #3

Ok, no problem. Registry is fine, I was just wondering if I missed something :smile: