<?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 Re: How to store plugin Preferences in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-store-plugin-preferences/m-p/4846919#M77485</link>
    <description>&lt;P&gt;Thanks for the nice links,&lt;/P&gt;&lt;P&gt;the setting are not project specific so I will give the using settings of @peterjegan a try.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Feb 2014 15:07:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-02-28T15:07:11Z</dc:date>
    <item>
      <title>How to store plugin Preferences</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-store-plugin-preferences/m-p/4844497#M77482</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am trying to find a way to store user preferences for my plugin.&lt;/P&gt;&lt;P&gt;These preferences are file paths, import options etc. so that the next time the user runs the plugin&lt;/P&gt;&lt;P&gt;all the choices he made the fist time he used the plugin stay the same.&lt;/P&gt;&lt;P&gt;Is there an API functionality which helps in this? Are there any guidlines how to do that? any user experience in the Forum about this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Dimi&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2014 16:11:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-store-plugin-preferences/m-p/4844497#M77482</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-27T16:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to store plugin Preferences</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-store-plugin-preferences/m-p/4844565#M77483</link>
      <description>If you are using Visual Studio C#, there is feature made exactly for this. Have a look at "Using settings in C#" here: &lt;A target="_blank" href="http://msdn.microsoft.com/en-us/library/aa730869(v=vs.80).aspx"&gt;http://msdn.microsoft.com/en-us/library/aa730869(v=vs.80).aspx&lt;/A&gt; This is what I do. Some people who want more control will develop their own system, but I suggest starting here. It is really easy and effective.</description>
      <pubDate>Thu, 27 Feb 2014 16:35:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-store-plugin-preferences/m-p/4844565#M77483</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-27T16:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to store plugin Preferences</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-store-plugin-preferences/m-p/4845877#M77484</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Another approach could be so called Extensible Storage mechanism in Revit API. That would allow you to save project specific settings. I mean a scenario where user wants to have different settings in different project. You can read more about it from BuildingCoder block&lt;BR /&gt;&lt;BR /&gt;&lt;A target="_blank" href="http://thebuildingcoder.typepad.com/blog/2011/04/extensible-storage.html"&gt;http://thebuildingcoder.typepad.com/blog/2011/04/extensible-storage.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;But if you are just trying to store information, that doesn't have direct relationship to Revit project, then it might be better to use mechanism that peterjegan suggested.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Feb 2014 05:35:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-store-plugin-preferences/m-p/4845877#M77484</guid>
      <dc:creator>ollikat</dc:creator>
      <dc:date>2014-02-28T05:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to store plugin Preferences</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-store-plugin-preferences/m-p/4846919#M77485</link>
      <description>&lt;P&gt;Thanks for the nice links,&lt;/P&gt;&lt;P&gt;the setting are not project specific so I will give the using settings of @peterjegan a try.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2014 15:07:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-store-plugin-preferences/m-p/4846919#M77485</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-28T15:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to store plugin Preferences</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-store-plugin-preferences/m-p/4857526#M77486</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;the C#&amp;nbsp; Visual Studio User Settings suggested by @peterjegan worked fine.&lt;/P&gt;&lt;P&gt;Neverheless in my case its was even easier sinc I wanted user setting for Windows Forms entries. There is a way to associate user settings with a Windows Form component inside the Form Designer. This means even less code for reading/writing.&lt;/P&gt;&lt;P&gt;&lt;A target="_self" href="http://msdn.microsoft.com/en-us/library/wabtadw6%28v=vs.110%29.aspx"&gt;http://msdn.microsoft.com/en-us/library/wabtadw6%28v=vs.110%29.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only CAVEAT I found is that you have to call save before closing the Form otherwise the settings get lost.&lt;/P&gt;&lt;P&gt;&lt;FONT face="symbol"&gt;Properties.Settings.Default.Save();&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2014 12:56:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-store-plugin-preferences/m-p/4857526#M77486</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-05T12:56:56Z</dc:date>
    </item>
  </channel>
</rss>

