<?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: add user path to projet file in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/add-user-path-to-projet-file/m-p/6505038#M107471</link>
    <description>&lt;P&gt;Hello Xiaodong,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when and for what versions there will be a patch? The error is also in version 2014 to 2017.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Georg&lt;/P&gt;</description>
    <pubDate>Wed, 17 Aug 2016 11:11:22 GMT</pubDate>
    <dc:creator>GeorgK</dc:creator>
    <dc:date>2016-08-17T11:11:22Z</dc:date>
    <item>
      <title>add user path to projet file</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/add-user-path-to-projet-file/m-p/6493668#M107467</link>
      <description>&lt;P&gt;Hello together,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found an old thread with the same problem but without a solution&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-customization/add-user-path-to-projet-file-does-not-work-userpath-is-striked/td-p/5361123" target="_blank"&gt;http://forums.autodesk.com/t5/inventor-customization/add-user-path-to-projet-file-does-not-work-userpath-is-striked/td-p/5361123&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Dim m_inventorApp As Inventor.Application = Nothing
m_inventorApp = System.Runtime.InteropServices.Marshal.GetActiveObject("Inventor.Application")

Dim oProjectManager As DesignProjectManager
oProjectManager = m_inventorApp.DesignProjectManager

'Dim oProject As DesignProject
Dim strWorkspacePath As String
strWorkspacePath = oProjectManager.ActiveDesignProject.WorkspacePath
MsgBox(strWorkspacePath)
oProjectManager.ActiveDesignProject.FrequentlyUsedPaths.Add("Modelle", strWorkspacePath &amp;amp; "\Modelle")
oProjectManager.ActiveDesignProject.FrequentlyUsedPaths.Add("Zeichnungen", strWorkspacePath &amp;amp; "\Zeichnungen")&lt;/PRE&gt;&lt;P&gt;How could I add the paths? The folder exists already.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Georg&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 09:37:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/add-user-path-to-projet-file/m-p/6493668#M107467</guid>
      <dc:creator>GeorgK</dc:creator>
      <dc:date>2016-08-11T09:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: add user path to projet file</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/add-user-path-to-projet-file/m-p/6493862#M107468</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After lots of trial and error with the project file and configuration of it, i came up with another approach that perfectly works for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've created manually a complete project file, with a complete folder structure and saved it somewhere as a template.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I .NET i just have to copy and rename the folder and project file and place it in my project directory and activate it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did not solved the original problem, but i walked around it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For new projects this is (for me) the best start and easy to manage if things changes in my project files over time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For old project i just copy a new project over my old project with the new, correct settings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Far more easier then programming the project file.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 11:47:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/add-user-path-to-projet-file/m-p/6493862#M107468</guid>
      <dc:creator>frederic.vandenplas</dc:creator>
      <dc:date>2016-08-11T11:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: add user path to projet file</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/add-user-path-to-projet-file/m-p/6493890#M107469</link>
      <description>&lt;P&gt;Hello Frederic,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To make a textfile with all the options is a workaround. I hope there is a solution from Autodesk for the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Georg&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 12:03:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/add-user-path-to-projet-file/m-p/6493890#M107469</guid>
      <dc:creator>GeorgK</dc:creator>
      <dc:date>2016-08-11T12:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: add user path to projet file</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/add-user-path-to-projet-file/m-p/6504836#M107470</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I can still reproduce this issue (FrequentlyUsedPaths creates the invalid path,  path is stroked through) in Inventor 2017. I logged it with our engineer team: TFS-147688.&lt;BR /&gt;&lt;BR /&gt;Sorry for the inconvenience at this moment.</description>
      <pubDate>Wed, 17 Aug 2016 08:55:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/add-user-path-to-projet-file/m-p/6504836#M107470</guid>
      <dc:creator>xiaodong_liang</dc:creator>
      <dc:date>2016-08-17T08:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: add user path to projet file</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/add-user-path-to-projet-file/m-p/6505038#M107471</link>
      <description>&lt;P&gt;Hello Xiaodong,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when and for what versions there will be a patch? The error is also in version 2014 to 2017.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Georg&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 11:11:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/add-user-path-to-projet-file/m-p/6505038#M107471</guid>
      <dc:creator>GeorgK</dc:creator>
      <dc:date>2016-08-17T11:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: add user path to projet file</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/add-user-path-to-projet-file/m-p/6543918#M107472</link>
      <description>&lt;P&gt;Hi Georg,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We do not know yet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2016 09:52:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/add-user-path-to-projet-file/m-p/6543918#M107472</guid>
      <dc:creator>adam.nagy</dc:creator>
      <dc:date>2016-09-06T09:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: add user path to projet file</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/add-user-path-to-projet-file/m-p/6713883#M107473</link>
      <description>&lt;P&gt;For the time being, you could also use this workaround:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://adndevblog.typepad.com/manufacturing/2016/11/add-to-frequently-used-subfolders-collection.html" target="_self"&gt;http://adndevblog.typepad.com/manufacturing/2016/11/add-to-frequently-used-subfolders-collection.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2016 19:32:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/add-user-path-to-projet-file/m-p/6713883#M107473</guid>
      <dc:creator>adam.nagy</dc:creator>
      <dc:date>2016-11-28T19:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: add user path to projet file</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/add-user-path-to-projet-file/m-p/6714923#M107474</link>
      <description>&lt;P&gt;Hello Adam,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for your help. When is a fix for Inventor 2017 ready?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Georg&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2016 07:38:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/add-user-path-to-projet-file/m-p/6714923#M107474</guid>
      <dc:creator>GeorgK</dc:creator>
      <dc:date>2016-11-29T07:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: add user path to projet file</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/add-user-path-to-projet-file/m-p/6900900#M107475</link>
      <description>&lt;P&gt;Hi Georg,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry for not getting back to you earlier, but there has been no update on the issue.&lt;/P&gt;
&lt;P&gt;Since it's a very low priority (it has a workaround and not many people affected by it) it's very unlikely to be fixed for 2017.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 11:25:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/add-user-path-to-projet-file/m-p/6900900#M107475</guid>
      <dc:creator>adam.nagy</dc:creator>
      <dc:date>2017-02-24T11:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: add user path to projet file</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/add-user-path-to-projet-file/m-p/9299087#M107476</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/339467"&gt;@adam.nagy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using the same logic that you write the example, do you can to write how to add a new AppearanceLibraries and/or MaterialLibraries and activate at ipj.&amp;nbsp;&lt;SPAN style="font-family: inherit;"&gt;Cause I dont nothing about the XML... thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 17:52:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/add-user-path-to-projet-file/m-p/9299087#M107476</guid>
      <dc:creator>Crstiano</dc:creator>
      <dc:date>2020-02-05T17:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: add user path to projet file</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/add-user-path-to-projet-file/m-p/9299402#M107477</link>
      <description>&lt;P&gt;I think that might be possible through the Inventor API, but if not, then the best thing might be to save the project file with another name before adding the paths you need, then add the paths through the UI and save the project file with the actual name.&amp;nbsp;&lt;BR /&gt;Then compare the two project files to see what exactly got added. Next time you could then do the same programmatically using the XML library.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 19:56:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/add-user-path-to-projet-file/m-p/9299402#M107477</guid>
      <dc:creator>adam.nagy</dc:creator>
      <dc:date>2020-02-05T19:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: add user path to projet file</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/add-user-path-to-projet-file/m-p/9301149#M107478</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/339467"&gt;@adam.nagy&lt;/a&gt;&amp;nbsp; only I to have difficult to save the ipj via VBA after to edit it. Dont found out command or documentation exemplifying the save. Can you help?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 15:01:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/add-user-path-to-projet-file/m-p/9301149#M107478</guid>
      <dc:creator>Crstiano</dc:creator>
      <dc:date>2020-02-06T15:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: add user path to projet file</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/add-user-path-to-projet-file/m-p/9301385#M107479</link>
      <description>&lt;P&gt;This is what I meant:&lt;BR /&gt;&lt;A href="https://modthemachine.typepad.com/my_weblog/2020/02/modify-inventor-project-ipj-directly.html" target="_blank"&gt;https://modthemachine.typepad.com/my_weblog/2020/02/modify-inventor-project-ipj-directly.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, what you are trying to do seems possible through the &lt;STRONG&gt;Inventor API&lt;/STRONG&gt; as well:&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-customization/designprojectmanager-issues-trying-to-add-libraries-to-projects/td-p/9229453" target="_blank"&gt;https://forums.autodesk.com/t5/inventor-customization/designprojectmanager-issues-trying-to-add-libraries-to-projects/td-p/9229453&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 16:48:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/add-user-path-to-projet-file/m-p/9301385#M107479</guid>
      <dc:creator>adam.nagy</dc:creator>
      <dc:date>2020-02-06T16:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: add user path to projet file</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/add-user-path-to-projet-file/m-p/11487943#M107480</link>
      <description>&lt;P&gt;This bug is still present in Inventor 2020. The workaround of editing the XML directly doesn't work because it requires all files to be closed, whereas the ProjectPaths.Add method works with files open.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 14:05:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/add-user-path-to-projet-file/m-p/11487943#M107480</guid>
      <dc:creator>ls-4453</dc:creator>
      <dc:date>2022-10-17T14:05:57Z</dc:date>
    </item>
  </channel>
</rss>

