<?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: APS swapping out models question in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/aps-swapping-out-models-question/m-p/13613703#M439</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/105031"&gt;@Curtis_W&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In APS&amp;nbsp; always have APSRule trigger thats set my search path for &lt;SPAN&gt;FactoryFilesPath&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sometime i have use&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;ExternalRules&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards JM Gunnar&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt; &lt;SPAN&gt;Is&lt;/SPAN&gt; &lt;SPAN&gt;Nothing&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;
&lt;SPAN&gt;'	        ' Check where MainAssembly is &lt;/SPAN&gt;
	        &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;folderAbove&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;System&lt;/SPAN&gt;.&lt;SPAN&gt;IO&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt;.&lt;SPAN&gt;GetDirectoryName&lt;/SPAN&gt;(&lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt;) &amp;amp; &lt;SPAN&gt;"\"&lt;/SPAN&gt;
	        &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;pathTovbFile&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;"\ExternalRules\"&lt;/SPAN&gt;
	        &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;vbFileName&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;"iLogicUtils.iLogicVb"&lt;/SPAN&gt;
	
	        
	        &lt;SPAN&gt;System&lt;/SPAN&gt;.&lt;SPAN&gt;IO&lt;/SPAN&gt;.&lt;SPAN&gt;File&lt;/SPAN&gt;.&lt;SPAN&gt;Copy&lt;/SPAN&gt;(&lt;SPAN&gt;pathTovbFile&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;vbFileName&lt;/SPAN&gt; , &lt;SPAN&gt;folderAbove&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;vbFileName&lt;/SPAN&gt;, &lt;SPAN&gt;True&lt;/SPAN&gt;)
	        
	        &lt;SPAN&gt;iLogicVb&lt;/SPAN&gt;.&lt;SPAN&gt;RunRule&lt;/SPAN&gt;(&lt;SPAN&gt;"MainRule"&lt;/SPAN&gt;)
	&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; 	&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt; &lt;SPAN&gt;Is&lt;/SPAN&gt; &lt;SPAN&gt;Nothing&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;

                               &lt;SPAN&gt;SharedVariable&lt;/SPAN&gt;(&lt;SPAN&gt;"FactoryFilesPath"&lt;/SPAN&gt;) = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;"\Factory Files"&lt;/SPAN&gt; 

                               &lt;SPAN&gt;SharedVariable&lt;/SPAN&gt;(&lt;SPAN&gt;"MemberFilesPath"&lt;/SPAN&gt;) = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt; &amp;amp;  &lt;SPAN&gt;"\Member Files"&lt;/SPAN&gt;

                               &lt;SPAN&gt;SharedVariable&lt;/SPAN&gt;(&lt;SPAN&gt;"ProjektFilesPath"&lt;/SPAN&gt;) = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;"\Factory Files\Projekt"&lt;/SPAN&gt;

                               &lt;SPAN&gt;SharedVariable&lt;/SPAN&gt;(&lt;SPAN&gt;"StandardComponents"&lt;/SPAN&gt;) = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;"\StandardComponents"&lt;/SPAN&gt;

                               &lt;SPAN&gt;SharedVariable&lt;/SPAN&gt;(&lt;SPAN&gt;"Products"&lt;/SPAN&gt;) = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt; &amp;amp;  &lt;SPAN&gt;"\Factory Files\Products"&lt;/SPAN&gt;

                               &lt;SPAN&gt;SharedVariable&lt;/SPAN&gt;(&lt;SPAN&gt;"TemplatePath"&lt;/SPAN&gt;) = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt; &amp;amp;  &lt;SPAN&gt;"\Factory Files"&lt;/SPAN&gt;
							   
							   &lt;SPAN&gt;SharedVariable&lt;/SPAN&gt;(&lt;SPAN&gt;"TemplatePathDrawing"&lt;/SPAN&gt;) = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt; &amp;amp;  &lt;SPAN&gt;"\Factory Files\Drawings\"&lt;/SPAN&gt;

               &lt;SPAN&gt;Else&lt;/SPAN&gt;
				   			
							  &lt;SPAN&gt;SharedVariable&lt;/SPAN&gt;(&lt;SPAN&gt;"FactoryFilesPath"&lt;/SPAN&gt;) = &lt;SPAN&gt;"D:\VaultWorkingFolder\Designs\Demo\Balkong\Factory Files"&lt;/SPAN&gt; 

                               &lt;SPAN&gt;SharedVariable&lt;/SPAN&gt;(&lt;SPAN&gt;"MemberFilesPath"&lt;/SPAN&gt;) = &lt;SPAN&gt;"D:\VaultWorkingFolder\Designs\Demo\Balkong\Member Files"&lt;/SPAN&gt;

                               &lt;SPAN&gt;SharedVariable&lt;/SPAN&gt;(&lt;SPAN&gt;"ProjektFilesPath"&lt;/SPAN&gt;) = &lt;SPAN&gt;"D:\VaultWorkingFolder\Designs\Demo\Balkong\Factory Files\Projekt"&lt;/SPAN&gt;

                               &lt;SPAN&gt;SharedVariable&lt;/SPAN&gt;(&lt;SPAN&gt;"StandardComponents"&lt;/SPAN&gt;) = &lt;SPAN&gt;"D:\VaultWorkingFolder\Designs\Demo\Balkong\Factory Files\StandardComponents"&lt;/SPAN&gt;

                               &lt;SPAN&gt;SharedVariable&lt;/SPAN&gt;(&lt;SPAN&gt;"Products"&lt;/SPAN&gt;) = &lt;SPAN&gt;"D:\VaultWorkingFolder\Designs\Demo\Balkong\Factory Files\Products"&lt;/SPAN&gt;

                               &lt;SPAN&gt;SharedVariable&lt;/SPAN&gt;(&lt;SPAN&gt;"TemplatePath"&lt;/SPAN&gt;) = &lt;SPAN&gt;"D:\VaultWorkingFolder\Designs\Balkong\Billy\Factory Files"&lt;/SPAN&gt;
							   
							   &lt;SPAN&gt;SharedVariable&lt;/SPAN&gt;(&lt;SPAN&gt;"TemplatePathDrawing"&lt;/SPAN&gt;) = &lt;SPAN&gt;"D:\VaultWorkingFolder\Designs\Demo\Balkong\Factory Files\Drawings\"&lt;/SPAN&gt;
				   

                              
               &lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 05 May 2025 07:39:52 GMT</pubDate>
    <dc:creator>JMGunner</dc:creator>
    <dc:date>2025-05-05T07:39:52Z</dc:date>
    <item>
      <title>APS swapping out models question</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/aps-swapping-out-models-question/m-p/13611181#M432</link>
      <description>&lt;P&gt;Quick question about swapping out models with iLogic rules on APS (Autodesk Platform Services), for those of you that are more recent on this than myself.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;with iLogic we can swap models out in 2 ways that I know of.&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;'use replace to swap the model
Component.Replace("MyPart:1", "Best Part Ever.ipt", True)&lt;/LI-CODE&gt;&lt;LI-CODE lang="general"&gt;'use add to swap the model, will add the model if not present
Components.Add("MyPart:1", "Best Part Ever.ipt")
&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;My understanding is that iLogic rule will find the model like this:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;It looks in memory for loaded models and if "Best Part Ever.ipt" is loaded, it uses that.&lt;/LI&gt;
&lt;LI&gt;If it doesn't find that model in memory, it looks under the *.ipj project file path for the model called "Best Part Ever.ipt"&lt;/LI&gt;
&lt;LI&gt;If the model is outside of the project path we can use the hard coded path "c:\temp\Best Part Ever.ipt"&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;If using APS, I think the 3rd option would not be an option for the environment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would someone be able to confirm for me that using the Replace and Add functions will work without issue in APS, by simply locating the model from memory or the *.ipj file?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2025 15:13:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/aps-swapping-out-models-question/m-p/13611181#M432</guid>
      <dc:creator>Curtis_W</dc:creator>
      <dc:date>2025-05-02T15:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: APS swapping out models question</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/aps-swapping-out-models-question/m-p/13611220#M433</link>
      <description>&lt;P&gt;It's been a minute since I've done this, but I did manage to find one of my APS test assemblies. We are doing both Add and Replace ops in it. I have a note in there from my past self saying that all files need to have "ThisDoc.Path" in front of it - relative paths do not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't promise that it's still the same (code is from a year and a half ago), but it looks like it works as you're going to need it to.&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2025 15:02:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/aps-swapping-out-models-question/m-p/13611220#M433</guid>
      <dc:creator>ryan.rittenhouse</dc:creator>
      <dc:date>2025-05-02T15:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: APS swapping out models question</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/aps-swapping-out-models-question/m-p/13611230#M434</link>
      <description>&lt;P&gt;Thanks for the quick reply Ryan! You're a champ!&lt;BR /&gt;&lt;BR /&gt;That is how I thought it worked as well, but I had this question come up, and wanted to confirm.&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2025 15:10:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/aps-swapping-out-models-question/m-p/13611230#M434</guid>
      <dc:creator>Curtis_W</dc:creator>
      <dc:date>2025-05-02T15:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: APS swapping out models question</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/aps-swapping-out-models-question/m-p/13611272#M435</link>
      <description>&lt;P&gt;I have not used APS, but I believe that at your 'step 2' stage mentioned above, it looks for that file within the same folder as the assembly, then maybe in its sub folders.&amp;nbsp; Not sure if it actually then jumps back up to 'project workspace' level and starts working its way back down or not, but that does sound like a logical next step after that one.&amp;nbsp; That's why putting ThisDoc.Path in front of it seems to work.&amp;nbsp;&amp;nbsp;It is extremely rare for me to not specify full file path for assembly components, due to using single project file for most things, and it having a massive project workspace area.&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2025 15:33:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/aps-swapping-out-models-question/m-p/13611272#M435</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2025-05-02T15:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: APS swapping out models question</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/aps-swapping-out-models-question/m-p/13611542#M436</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7812054"&gt;@WCrihfield&lt;/a&gt;!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I did a little digging to see if could find this info documented, and...&lt;BR /&gt;&lt;BR /&gt;The new iLogic API help is not as informative:&lt;BR /&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2025/ENU/?guid=d9369b13-a941-7b39-0c3c-118e1b0a6d1c" target="_blank" rel="noopener"&gt;Inventor 2025 Help | ICadComponent.Replace Method | Autodesk&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2025/ENU/?guid=cef78dfb-d235-6345-8587-1b401b169b93" target="_blank" rel="noopener"&gt;Inventor 2025 Help | IManagedComponents.Add Method | Autodesk&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;But the &lt;A href="https://help.autodesk.com/view/INVNTOR/2025/ENU/?guid=GUID-B5D4DEE1-F637-44E0-8595-DB5E7E204E1C" target="_blank" rel="noopener"&gt;old help&lt;/A&gt; had this for component Replace&lt;/P&gt;
&lt;P&gt;Some quick sanity checking showed that it seems to work the same for the Components.Add function.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Curtis_Waguespack_0-1746211199541.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1529789iE4E4A88739896E09/image-size/large?v=v2&amp;amp;px=999" role="button" title="Curtis_Waguespack_0-1746211199541.png" alt="Curtis_Waguespack_0-1746211199541.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2025 18:46:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/aps-swapping-out-models-question/m-p/13611542#M436</guid>
      <dc:creator>Curtis_W</dc:creator>
      <dc:date>2025-05-02T18:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: APS swapping out models question</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/aps-swapping-out-models-question/m-p/13611562#M437</link>
      <description>&lt;P&gt;Nice Link.&amp;nbsp; It would be great if they assigned someone who really knows this stuff inside &amp;amp; out to full time reviewing the online help documentation for Inventor's API &amp;amp; iLogic related stuff, and fixed all the existing Links, added additional Links, and provided more 'Samples' that utilize the 'iLogic' helpers, instead of just VBA' or one of the 'C#' type variations.&amp;nbsp; I have reported so many issues in the online help I can't keep track of all of them.&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2025 19:10:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/aps-swapping-out-models-question/m-p/13611562#M437</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2025-05-02T19:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: APS swapping out models question</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/aps-swapping-out-models-question/m-p/13611599#M438</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7812054"&gt;@WCrihfield&lt;/a&gt;,&amp;nbsp;I just mentioned this exact thing to the Inventor dev team in survey.&lt;/P&gt;
&lt;P&gt;I might have the opportunity to discuss this in a couple of weeks with them.&lt;/P&gt;
&lt;P&gt;If so I'll volunteer you and Ryan for this. /jk &lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2025 19:43:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/aps-swapping-out-models-question/m-p/13611599#M438</guid>
      <dc:creator>Curtis_W</dc:creator>
      <dc:date>2025-05-02T19:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: APS swapping out models question</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/aps-swapping-out-models-question/m-p/13613703#M439</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/105031"&gt;@Curtis_W&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In APS&amp;nbsp; always have APSRule trigger thats set my search path for &lt;SPAN&gt;FactoryFilesPath&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sometime i have use&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;ExternalRules&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards JM Gunnar&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt; &lt;SPAN&gt;Is&lt;/SPAN&gt; &lt;SPAN&gt;Nothing&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;
&lt;SPAN&gt;'	        ' Check where MainAssembly is &lt;/SPAN&gt;
	        &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;folderAbove&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;System&lt;/SPAN&gt;.&lt;SPAN&gt;IO&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt;.&lt;SPAN&gt;GetDirectoryName&lt;/SPAN&gt;(&lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt;) &amp;amp; &lt;SPAN&gt;"\"&lt;/SPAN&gt;
	        &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;pathTovbFile&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;"\ExternalRules\"&lt;/SPAN&gt;
	        &lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;vbFileName&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;"iLogicUtils.iLogicVb"&lt;/SPAN&gt;
	
	        
	        &lt;SPAN&gt;System&lt;/SPAN&gt;.&lt;SPAN&gt;IO&lt;/SPAN&gt;.&lt;SPAN&gt;File&lt;/SPAN&gt;.&lt;SPAN&gt;Copy&lt;/SPAN&gt;(&lt;SPAN&gt;pathTovbFile&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;vbFileName&lt;/SPAN&gt; , &lt;SPAN&gt;folderAbove&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;vbFileName&lt;/SPAN&gt;, &lt;SPAN&gt;True&lt;/SPAN&gt;)
	        
	        &lt;SPAN&gt;iLogicVb&lt;/SPAN&gt;.&lt;SPAN&gt;RunRule&lt;/SPAN&gt;(&lt;SPAN&gt;"MainRule"&lt;/SPAN&gt;)
	&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; 	&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt; &lt;SPAN&gt;Is&lt;/SPAN&gt; &lt;SPAN&gt;Nothing&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;

                               &lt;SPAN&gt;SharedVariable&lt;/SPAN&gt;(&lt;SPAN&gt;"FactoryFilesPath"&lt;/SPAN&gt;) = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;"\Factory Files"&lt;/SPAN&gt; 

                               &lt;SPAN&gt;SharedVariable&lt;/SPAN&gt;(&lt;SPAN&gt;"MemberFilesPath"&lt;/SPAN&gt;) = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt; &amp;amp;  &lt;SPAN&gt;"\Member Files"&lt;/SPAN&gt;

                               &lt;SPAN&gt;SharedVariable&lt;/SPAN&gt;(&lt;SPAN&gt;"ProjektFilesPath"&lt;/SPAN&gt;) = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;"\Factory Files\Projekt"&lt;/SPAN&gt;

                               &lt;SPAN&gt;SharedVariable&lt;/SPAN&gt;(&lt;SPAN&gt;"StandardComponents"&lt;/SPAN&gt;) = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;"\StandardComponents"&lt;/SPAN&gt;

                               &lt;SPAN&gt;SharedVariable&lt;/SPAN&gt;(&lt;SPAN&gt;"Products"&lt;/SPAN&gt;) = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt; &amp;amp;  &lt;SPAN&gt;"\Factory Files\Products"&lt;/SPAN&gt;

                               &lt;SPAN&gt;SharedVariable&lt;/SPAN&gt;(&lt;SPAN&gt;"TemplatePath"&lt;/SPAN&gt;) = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt; &amp;amp;  &lt;SPAN&gt;"\Factory Files"&lt;/SPAN&gt;
							   
							   &lt;SPAN&gt;SharedVariable&lt;/SPAN&gt;(&lt;SPAN&gt;"TemplatePathDrawing"&lt;/SPAN&gt;) = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt; &amp;amp;  &lt;SPAN&gt;"\Factory Files\Drawings\"&lt;/SPAN&gt;

               &lt;SPAN&gt;Else&lt;/SPAN&gt;
				   			
							  &lt;SPAN&gt;SharedVariable&lt;/SPAN&gt;(&lt;SPAN&gt;"FactoryFilesPath"&lt;/SPAN&gt;) = &lt;SPAN&gt;"D:\VaultWorkingFolder\Designs\Demo\Balkong\Factory Files"&lt;/SPAN&gt; 

                               &lt;SPAN&gt;SharedVariable&lt;/SPAN&gt;(&lt;SPAN&gt;"MemberFilesPath"&lt;/SPAN&gt;) = &lt;SPAN&gt;"D:\VaultWorkingFolder\Designs\Demo\Balkong\Member Files"&lt;/SPAN&gt;

                               &lt;SPAN&gt;SharedVariable&lt;/SPAN&gt;(&lt;SPAN&gt;"ProjektFilesPath"&lt;/SPAN&gt;) = &lt;SPAN&gt;"D:\VaultWorkingFolder\Designs\Demo\Balkong\Factory Files\Projekt"&lt;/SPAN&gt;

                               &lt;SPAN&gt;SharedVariable&lt;/SPAN&gt;(&lt;SPAN&gt;"StandardComponents"&lt;/SPAN&gt;) = &lt;SPAN&gt;"D:\VaultWorkingFolder\Designs\Demo\Balkong\Factory Files\StandardComponents"&lt;/SPAN&gt;

                               &lt;SPAN&gt;SharedVariable&lt;/SPAN&gt;(&lt;SPAN&gt;"Products"&lt;/SPAN&gt;) = &lt;SPAN&gt;"D:\VaultWorkingFolder\Designs\Demo\Balkong\Factory Files\Products"&lt;/SPAN&gt;

                               &lt;SPAN&gt;SharedVariable&lt;/SPAN&gt;(&lt;SPAN&gt;"TemplatePath"&lt;/SPAN&gt;) = &lt;SPAN&gt;"D:\VaultWorkingFolder\Designs\Balkong\Billy\Factory Files"&lt;/SPAN&gt;
							   
							   &lt;SPAN&gt;SharedVariable&lt;/SPAN&gt;(&lt;SPAN&gt;"TemplatePathDrawing"&lt;/SPAN&gt;) = &lt;SPAN&gt;"D:\VaultWorkingFolder\Designs\Demo\Balkong\Factory Files\Drawings\"&lt;/SPAN&gt;
				   

                              
               &lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2025 07:39:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/aps-swapping-out-models-question/m-p/13613703#M439</guid>
      <dc:creator>JMGunner</dc:creator>
      <dc:date>2025-05-05T07:39:52Z</dc:date>
    </item>
  </channel>
</rss>

