<?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: Library file using Model States in Inventor Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-forum/library-file-using-model-states/m-p/11653507#M59227</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10990159"&gt;@BDCollett&lt;/a&gt;&amp;nbsp;The only iLogic I have is the one triggering the Physical Propeties:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;mass = iProperties.Mass&lt;/LI-CODE&gt;&lt;P&gt;This doesn't make the file become dirty. Even with&amp;nbsp; a clean document, without any iLogic, the same happens.&lt;/P&gt;</description>
    <pubDate>Tue, 03 Jan 2023 07:30:26 GMT</pubDate>
    <dc:creator>PolemEngineering</dc:creator>
    <dc:date>2023-01-03T07:30:26Z</dc:date>
    <item>
      <title>Library file using Model States</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/library-file-using-model-states/m-p/11636266#M59222</link>
      <description>&lt;P&gt;I'm working on a test, where I try to translate the functionality of iParts and iAssemblies to Model States.&lt;/P&gt;&lt;P&gt;We are a project organization that frequently uses library components to achieve a customer-specific end product.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem I run into is that when switching between Model States (via Representation...) the document gets dirty.&lt;/P&gt;&lt;P&gt;This is undesirable because I want to use the file with the pre-defined model states as a library file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So if I place the library file with the last active Model State (that's how it's configured here, I think) in a new, empty assembly. And then save this assembly, then only the assembly file will be saved.&lt;BR /&gt;If I switch to a different Model State, followed by a save, Inventor wants to save both the assembly and the library file.&lt;BR /&gt;The latter with the text "Write enable (not checked out from Vault), Mass Property Update, Model State Updates".&lt;/P&gt;&lt;P&gt;*Test is with 1 assembly (with 2 Model States) and 1 part (also with 2 Model States). Switching the Model State of the Assembly&amp;nbsp; also replacing the Model State of the dependent Part. So actually a 2-stage rocket.&lt;/P&gt;&lt;P&gt;Doing the test with only the Part containing the 2 Model States, this problem does not occur.&lt;/P&gt;&lt;P&gt;Is this configurable?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was very happy with the ability to use Model State dependent iProperties to create x number of Items in the Item Master in Vault. Theoretically, this is much easier to manage. A Model State Factory would be very easy to use in our models. Switching between different variants is then almost as easy as the Change Size of a Content Center member.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 13:14:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/library-file-using-model-states/m-p/11636266#M59222</guid>
      <dc:creator>PolemEngineering</dc:creator>
      <dc:date>2022-12-22T13:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Library file using Model States</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/library-file-using-model-states/m-p/11637029#M59223</link>
      <description>&lt;P&gt;To the best of my knowledge, using Inventor 2022 and Vault Pro 2022:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Changing the active model state in a file will dirty the file.&amp;nbsp; Once the file is dirty, Vault will want to check it out to save any changes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Inventor and Vault (with file-based revision control) will still trigger the dirty-checkout-save workflow if the file is in a Vault Library or in a Released state.&amp;nbsp; The dirty-checkout-save workflow may not be as important if using Item-based security and revision control.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have limited our use of Model States partly because of this behavior.&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 17:37:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/library-file-using-model-states/m-p/11637029#M59223</guid>
      <dc:creator>swalton</dc:creator>
      <dc:date>2022-12-22T17:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Library file using Model States</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/library-file-using-model-states/m-p/11637522#M59224</link>
      <description>&lt;P&gt;2023.2, changing model states does not dirty the file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Either with placing a part with model states in a new assembly and changing the state of said part, changing model states of an assembly, or with linked model states between assembly and part.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Obviously if you add more model states it will be dirty.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 21:59:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/library-file-using-model-states/m-p/11637522#M59224</guid>
      <dc:creator>BDCollett</dc:creator>
      <dc:date>2022-12-22T21:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Library file using Model States</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/library-file-using-model-states/m-p/11638213#M59225</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I'm currently using Autodesk Inventor Professional 2023.2.&amp;nbsp;Forgot to mention it. I used to have it in the footer, but this causes confusion with older posts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Changing Model State in a Part document does indeed not dirty the file, but changing Model State in an Assembly document (which also changes Model State of above mentioned Part) does dirty the Assembly file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Above is all pre-defined. It seems logical to me that adding new Model States does dirty the file...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Another problem is that the Mass changes to N/A when changing State. Although I just noticed that updating the Physical Properties does not lead to a dirty document.&lt;BR /&gt;This requires another test with iLogic-rule on Part Geometry Change or another event.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 09:14:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/library-file-using-model-states/m-p/11638213#M59225</guid>
      <dc:creator>PolemEngineering</dc:creator>
      <dc:date>2022-12-23T09:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Library file using Model States</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/library-file-using-model-states/m-p/11639260#M59226</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/552412"&gt;@PolemEngineering&lt;/a&gt;&amp;nbsp;wrote:&lt;P&gt;&lt;SPAN&gt;Changing Model State in a Part document does indeed not dirty the file, but changing Model State in an Assembly document (which also changes Model State of above mentioned Part) does dirty the Assembly file.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;This does not cause the file to become dirty for me in 2023.2&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you have some iLogic that is being triggered to cause this possibly?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;P&gt;&lt;SPAN&gt;Another problem is that the Mass changes to N/A when changing State. Although I just noticed that updating the Physical Properties does not lead to a dirty document.&lt;BR /&gt;This requires another test with iLogic-rule on Part Geometry Change or another event.&lt;/SPAN&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This seems to happen with the parts but not the assembly. Which is a little strange and annoying.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Dec 2022 00:59:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/library-file-using-model-states/m-p/11639260#M59226</guid>
      <dc:creator>BDCollett</dc:creator>
      <dc:date>2022-12-24T00:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Library file using Model States</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/library-file-using-model-states/m-p/11653507#M59227</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10990159"&gt;@BDCollett&lt;/a&gt;&amp;nbsp;The only iLogic I have is the one triggering the Physical Propeties:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;mass = iProperties.Mass&lt;/LI-CODE&gt;&lt;P&gt;This doesn't make the file become dirty. Even with&amp;nbsp; a clean document, without any iLogic, the same happens.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 07:30:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/library-file-using-model-states/m-p/11653507#M59227</guid>
      <dc:creator>PolemEngineering</dc:creator>
      <dc:date>2023-01-03T07:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Library file using Model States</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/library-file-using-model-states/m-p/11662715#M59228</link>
      <description>&lt;P&gt;Hi! Let me clarify a bit. The correct answer to the file dirtying on activating a Model State is actually it depends. When you create a Model State in a part or assembly, it is like adding a new geometric representation. As a result, when activating a Model State, the file is dirtied as if you make change to the parameters or suppress a feature. However, if the Model States have been consumed by a drawing (or an assembly), simply activating it does not dirty the file. This is because the Model State has "elaborated" due to consumption, such switching is like opening a file without changing anything. As a result, the file will not be dirtied.&lt;/P&gt;
&lt;P&gt;Many thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 23:53:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/library-file-using-model-states/m-p/11662715#M59228</guid>
      <dc:creator>johnsonshiue</dc:creator>
      <dc:date>2023-01-06T23:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Library file using Model States</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/library-file-using-model-states/m-p/11669166#M59229</link>
      <description>&lt;P&gt;I try to understand.&lt;/P&gt;&lt;P&gt;English is not my native language, but what you are describing seems to be exactly what I imagine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was under the impression that I could use Model States as an alternative to iParts and iAssemblies.&lt;BR /&gt;The first part of your text suggests that it is logical that the file &lt;STRIKE&gt;is corrupted&lt;/STRIKE&gt;&amp;nbsp;become dirty when activating a Model State.&lt;BR /&gt;However, the last part (However, if the Model States have been consumed by a drawing (or an assembly),...) suggests that there is a way to make this possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where is my thinking error?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 3 files attached: ModelStatePart.ipt (containing a few states), ModelStatesAssembly.iam (Contains a number of States which also controls the State of the part). Both of them suppost to be static library parts. Third document is an project-based assembly in which I want to show/use an instance of ModelStateAssembly.iam. None of these are touched by iLogic or the like.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Switching to another ModelState of ModelStateAssembly.iam (from within Example.iam) results in dirtying the files, see screenshot.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Save-UI.PNG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1160802i3F479CA13256CB5A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Save-UI.PNG" alt="Save-UI.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 15:02:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/library-file-using-model-states/m-p/11669166#M59229</guid>
      <dc:creator>PolemEngineering</dc:creator>
      <dc:date>2023-01-10T15:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Library file using Model States</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/library-file-using-model-states/m-p/11669207#M59230</link>
      <description>&lt;P&gt;Hi! I don't recall saying the files were corrupted. If I did, I was wrong. Was it on a different discussion? I thought the file size increase was caused by corruption.&lt;/P&gt;
&lt;P&gt;Certainly, you can leverage a component (part or assembly) with Model States as a library component. To do that, you need to make sure the Model State is elaborated in the file (generating the "member" document within the file). You need to consume the Model States in order to elaborate. One way to do that is to start up a new assembly, place each Model State in the assembly (just as what you were doing) -&amp;gt; Save. Once the Model States are elaborated, you can consume it else where without dirtying the component file itself.&lt;/P&gt;
&lt;P&gt;To prove my theory, you can drop the part you attach to a different assembly -&amp;gt; Save. The part will not be dirtied.&lt;/P&gt;
&lt;P&gt;Many thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 14:48:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/library-file-using-model-states/m-p/11669207#M59230</guid>
      <dc:creator>johnsonshiue</dc:creator>
      <dc:date>2023-01-10T14:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: Library file using Model States</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/library-file-using-model-states/m-p/11669257#M59231</link>
      <description>&lt;P&gt;Corrupted is the wrong term. I meant the file become dirty.&amp;nbsp;I will try to correct this text.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will try what you suggested. Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 15:16:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/library-file-using-model-states/m-p/11669257#M59231</guid>
      <dc:creator>PolemEngineering</dc:creator>
      <dc:date>2023-01-10T15:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Library file using Model States</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/library-file-using-model-states/m-p/11669404#M59232</link>
      <description>&lt;P&gt;This seems to work perfectly!&lt;BR /&gt;Somewhat labour-intensive, but manageable with use of a cleverly applied iLogic script.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 15:56:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/library-file-using-model-states/m-p/11669404#M59232</guid>
      <dc:creator>PolemEngineering</dc:creator>
      <dc:date>2023-01-10T15:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Library file using Model States</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/library-file-using-model-states/m-p/11669475#M59233</link>
      <description>&lt;P&gt;As I understand the technology, a Model State is just another representation of the model’s geometry stored in the same file. Hence your file size grows with each new state. However, simply creating a new state does not create the actual geometry. This happens only when you switch to that state and save the file.&lt;/P&gt;&lt;P&gt;Maybe that explains your problem: Maybe you created the different states by adding them in the spreadsheet? Then your file is clear. Now you used it in an assembly and activated a state. Only now the geometry is created and your file gets dirty.&lt;/P&gt;&lt;P&gt;A possible solution could be to run through your table once and activate and save each state. Perhaps using some iLogic?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 16:23:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/library-file-using-model-states/m-p/11669475#M59233</guid>
      <dc:creator>RajSchmidt</dc:creator>
      <dc:date>2023-01-10T16:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Library file using Model States</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/library-file-using-model-states/m-p/11670626#M59234</link>
      <description>&lt;P&gt;Hi! Yes, you are right. When the Model State is authored, the actual geometric representation isn't fulfilled, beside the active state. In order to have multiple Model States coexisted, they need to be "generated", like iPart/iAssembly member files. The difference here is that the member "files" are all wrapped within one file.&lt;/P&gt;
&lt;P&gt;Many thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 02:49:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/library-file-using-model-states/m-p/11670626#M59234</guid>
      <dc:creator>johnsonshiue</dc:creator>
      <dc:date>2023-01-11T02:49:29Z</dc:date>
    </item>
  </channel>
</rss>

