<?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: Applications Options - Content Center Library Path Setting (VBA) in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/applications-options-content-center-library-path-setting-vba/m-p/7762341#M80105</link>
    <description>&lt;P&gt;Thanks, but it's not quite working.&amp;nbsp; I'm getting an error that says "Expected: =", on the second line of the code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Feb 2018 14:22:26 GMT</pubDate>
    <dc:creator>jtylerbc</dc:creator>
    <dc:date>2018-02-08T14:22:26Z</dc:date>
    <item>
      <title>Applications Options - Content Center Library Path Setting (VBA)</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/applications-options-content-center-library-path-setting-vba/m-p/7760707#M80061</link>
      <description>&lt;P&gt;We are revamping some of our Inventor support file structure a bit, and I'm updating some of our VBA Macros to match.&amp;nbsp; We have a macro that is used at initial setup to aid in setting all the file paths in Application Options.&amp;nbsp; The changes I am making ultimately simplify it, but there is one thing I need to add that I can't seem to figure out how to do.&amp;nbsp; I'm not the writer of the original macro, and am a bit rusty on what little VBA I ever knew, so I'm finding myself a little stuck.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible to set the file path for Content Center Libraries (Application Options - Content Center tab) through the API?&amp;nbsp; It seems like that should be possible and I'm just overlooking it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently using Inventor 2016, but will be upgrading to 2018 soon.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 23:25:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/applications-options-content-center-library-path-setting-vba/m-p/7760707#M80061</guid>
      <dc:creator>jtylerbc</dc:creator>
      <dc:date>2018-02-07T23:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Applications Options - Content Center Library Path Setting (VBA)</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/applications-options-content-center-library-path-setting-vba/m-p/7760826#M80062</link>
      <description>&lt;P&gt;Use this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;location&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #008080;"&gt;"G:\Inventor 2018 CC Libraries\"&lt;/SPAN&gt;
&lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ContentCenterOptions&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;SetAccessOption&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ContentCenterAccessOptionEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kInventorDesktopAccess&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;location&lt;/SPAN&gt;)
&lt;/FONT&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 01:06:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/applications-options-content-center-library-path-setting-vba/m-p/7760826#M80062</guid>
      <dc:creator>smilinger</dc:creator>
      <dc:date>2018-02-08T01:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Applications Options - Content Center Library Path Setting (VBA)</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/applications-options-content-center-library-path-setting-vba/m-p/7762341#M80105</link>
      <description>&lt;P&gt;Thanks, but it's not quite working.&amp;nbsp; I'm getting an error that says "Expected: =", on the second line of the code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 14:22:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/applications-options-content-center-library-path-setting-vba/m-p/7762341#M80105</guid>
      <dc:creator>jtylerbc</dc:creator>
      <dc:date>2018-02-08T14:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Applications Options - Content Center Library Path Setting (VBA)</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/applications-options-content-center-library-path-setting-vba/m-p/7762396#M80107</link>
      <description>&lt;P&gt;Oh, that's for iLogic. For VBA you need this:&lt;/P&gt;
&lt;PRE&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;location&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;BR /&gt;&lt;/SPAN&gt;location = &lt;SPAN&gt;"G:\Inventor 2018 CC Libraries\"&lt;/SPAN&gt;
&lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;ContentCenterOptions&lt;/SPAN&gt;.&lt;SPAN&gt;SetAccessOption &lt;/SPAN&gt;&lt;SPAN&gt;ContentCenterAccessOptionEnum&lt;/SPAN&gt;.&lt;SPAN&gt;kInventorDesktopAccess&lt;/SPAN&gt;, &lt;SPAN&gt;location&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Feb 2018 14:34:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/applications-options-content-center-library-path-setting-vba/m-p/7762396#M80107</guid>
      <dc:creator>smilinger</dc:creator>
      <dc:date>2018-02-08T14:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Applications Options - Content Center Library Path Setting (VBA)</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/applications-options-content-center-library-path-setting-vba/m-p/7762486#M80109</link>
      <description>&lt;P&gt;Perfect, that does it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Before I even posted the thread, I had figured out as far as ".ContentCenterOptions", but didn't know where to go from there and wasn't sure I was heading the right direction.&amp;nbsp; After your first post, I realized&amp;nbsp;it was iLogic, and changed the way the path variable was defined appropriately.&amp;nbsp; However, I didn't realize that the second line also needed to change.&amp;nbsp; Looks like the parentheses from&amp;nbsp;your iLogic version were the culprit when I brought it into VBA.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 14:54:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/applications-options-content-center-library-path-setting-vba/m-p/7762486#M80109</guid>
      <dc:creator>jtylerbc</dc:creator>
      <dc:date>2018-02-08T14:54:02Z</dc:date>
    </item>
  </channel>
</rss>

