<?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 Where does Fusion store property values shown in the post dialog? in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/where-does-fusion-store-property-values-shown-in-the-post-dialog/m-p/13090174#M638</link>
    <description>&lt;P&gt;When posting we have the option to set post property values.&amp;nbsp; If you change a properties' value, then post, and then post again later, the value you set for the property will have been "remembered".&amp;nbsp; Where is Fusion storing this information?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As an example, in the picture below I'm using the Haas NGC post config "haas next generation.cps".&amp;nbsp; I checked the "Use chip transport" box, and after posting I find the registry key "HKEY_USERS\Software\Autodesk\Fusion 360 CAM\post configurations\user://haas next generation.cps" has a new value named "gotChipConveyor" with a value of "true".&amp;nbsp; This looks to be exactly what I want, but I find that Fusion isn't reading the registry key to populate the property values in the post dialog.&amp;nbsp; I.e., if I modify any of the property registry keys, the properties shown in the post dialog don't reflect the modified values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The goal is to be able to programmatically change post config properties.&amp;nbsp; FWIW, what I'm trying to do in Fusion already works great in HSMWorks which uses the registry for both writing AND reading post property values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="manseekingknowledge_1-1729147832155.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1422600i05F048F3D7AD20AF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="manseekingknowledge_1-1729147832155.png" alt="manseekingknowledge_1-1729147832155.png" /&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>Thu, 17 Oct 2024 20:34:46 GMT</pubDate>
    <dc:creator>manseekingknowledge</dc:creator>
    <dc:date>2024-10-17T20:34:46Z</dc:date>
    <item>
      <title>Where does Fusion store property values shown in the post dialog?</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/where-does-fusion-store-property-values-shown-in-the-post-dialog/m-p/13090174#M638</link>
      <description>&lt;P&gt;When posting we have the option to set post property values.&amp;nbsp; If you change a properties' value, then post, and then post again later, the value you set for the property will have been "remembered".&amp;nbsp; Where is Fusion storing this information?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As an example, in the picture below I'm using the Haas NGC post config "haas next generation.cps".&amp;nbsp; I checked the "Use chip transport" box, and after posting I find the registry key "HKEY_USERS\Software\Autodesk\Fusion 360 CAM\post configurations\user://haas next generation.cps" has a new value named "gotChipConveyor" with a value of "true".&amp;nbsp; This looks to be exactly what I want, but I find that Fusion isn't reading the registry key to populate the property values in the post dialog.&amp;nbsp; I.e., if I modify any of the property registry keys, the properties shown in the post dialog don't reflect the modified values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The goal is to be able to programmatically change post config properties.&amp;nbsp; FWIW, what I'm trying to do in Fusion already works great in HSMWorks which uses the registry for both writing AND reading post property values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="manseekingknowledge_1-1729147832155.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1422600i05F048F3D7AD20AF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="manseekingknowledge_1-1729147832155.png" alt="manseekingknowledge_1-1729147832155.png" /&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>Thu, 17 Oct 2024 20:34:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/where-does-fusion-store-property-values-shown-in-the-post-dialog/m-p/13090174#M638</guid>
      <dc:creator>manseekingknowledge</dc:creator>
      <dc:date>2024-10-17T20:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Where does F360 store property values shown in the post dialog?</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/where-does-fusion-store-property-values-shown-in-the-post-dialog/m-p/13091037#M639</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The custom parameters for the postProcessor are defined at the beginning of the postProcessor file, as within the following example:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;...

// user-defined properties
properties = {
  writeMachine: {
    title      : "Write machine",
    description: "Output the machine settings in the header of the code.",
    group      : "formats",
    type       : "boolean",
    value      : true,
    scope      : ["post", "operation"]
  },

...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The very first value is defined in that code snippet with the "value" property, but I don't remember there is some definition on how it is kept since its first use.&lt;/P&gt;&lt;P&gt;Once you generate a NCprogram the values of each property are kept inside the NCprogram.&lt;/P&gt;&lt;P&gt;Notice you can have the property defined from the operation or from the postProcessor, according to the "scope" property.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this can help somehow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jorge Jaramillo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 12:53:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/where-does-fusion-store-property-values-shown-in-the-post-dialog/m-p/13091037#M639</guid>
      <dc:creator>Jorge_Jaramillo</dc:creator>
      <dc:date>2024-10-17T12:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: Where does F360 store property values shown in the post dialog?</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/where-does-fusion-store-property-values-shown-in-the-post-dialog/m-p/13091558#M640</link>
      <description>&lt;P&gt;Maybe my question wasn't clear.&amp;nbsp; What I'm concerned with is the post dialog screen shown in the picture in my original post and where it is obtaining its property values from.&amp;nbsp; To help clarify, below is a step by step process with pictures.&amp;nbsp; To keep things as simple as possible, the example below uses the same property I used as an example in my original post; the "Use chip transport" property.&amp;nbsp; Though the "scope" of the property doesn't matter for the post dialog, this property's "scope" is "post" as seen here:&lt;/P&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;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;  gotChipConveyor: {
    title      : "Use chip transport",
    description: "Enable to turn on chip transport at start of program.",
    group      : "configuration",
    type       : "boolean",
    value      : false,
    scope      : "post"
  },&lt;/LI-CODE&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;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.) Press the "Post Process" button in the Fusion tool bar to open the Post dialog:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="manseekingknowledge_0-1729182104953.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1422965i30F76FFCD28F3E3F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="manseekingknowledge_0-1729182104953.png" alt="manseekingknowledge_0-1729182104953.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. ) Note the value of the "Use chip transport" property and press "Post".&amp;nbsp; The NC file will be generated and the Post dialog will close:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="manseekingknowledge_1-1729182279946.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1422967i2B185A2BCEB8DC6B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="manseekingknowledge_1-1729182279946.png" alt="manseekingknowledge_1-1729182279946.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3.) Press the "Post Process" button in the Fusion tool bar to open the Post dialog for a 2nd time:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="manseekingknowledge_2-1729182418469.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1422968iA93D886594904EC3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="manseekingknowledge_2-1729182418469.png" alt="manseekingknowledge_2-1729182418469.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. ) Note the value of the "Use chip transport" property:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="manseekingknowledge_3-1729182515389.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1422969i5C5B240D3B2EF317/image-size/medium?v=v2&amp;amp;px=400" role="button" title="manseekingknowledge_3-1729182515389.png" alt="manseekingknowledge_3-1729182515389.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;5.) Change the value of the "Use chip transport" property and press "Post".&amp;nbsp; The NC file will be generated and the Post dialog will close:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="manseekingknowledge_5-1729182600937.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1422972i76693ED4D9F9ECA3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="manseekingknowledge_5-1729182600937.png" alt="manseekingknowledge_5-1729182600937.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;6.) Press the "Post Process" button in the Fusion tool bar to open the Post dialog for a 3rd time:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="manseekingknowledge_6-1729182646348.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1422973iD457CA55E0D42FED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="manseekingknowledge_6-1729182646348.png" alt="manseekingknowledge_6-1729182646348.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;7. ) Note the value of the "Use chip transport" property:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="manseekingknowledge_7-1729182714293.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1422975i2C5797986EA83320/image-size/medium?v=v2&amp;amp;px=400" role="button" title="manseekingknowledge_7-1729182714293.png" alt="manseekingknowledge_7-1729182714293.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This process shows that the Post dialog retains whatever setting was used the last time.&amp;nbsp; My question is, where is Fusion storing that information?&amp;nbsp; As I mentioned in my original post, HSMWorks writes AND reads this information to/from the registry, but Fusion only seems to write the information to the registry because modifying the registry values then attempting to post doesn't change the value displayed in the Post dialog.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you observe the registry while following the process I outlined above, you will see this when "Use chip transport" is not checked:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="manseekingknowledge_8-1729183355564.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1422979i2E10AFCD94F0C974/image-size/medium?v=v2&amp;amp;px=400" role="button" title="manseekingknowledge_8-1729183355564.png" alt="manseekingknowledge_8-1729183355564.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And you will see this when "Use chip transport" is checked.&amp;nbsp; Note the "gotChipConveyor" entry:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="manseekingknowledge_9-1729183381106.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1422980i7BC384CCA834A588/image-size/medium?v=v2&amp;amp;px=400" role="button" title="manseekingknowledge_9-1729183381106.png" alt="manseekingknowledge_9-1729183381106.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But again, Fusion is NOT reading the values shown in these registry pictures to populate the Post dialog, so where is it reading the values from?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 16:53:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/where-does-fusion-store-property-values-shown-in-the-post-dialog/m-p/13091558#M640</guid>
      <dc:creator>manseekingknowledge</dc:creator>
      <dc:date>2024-10-17T16:53:10Z</dc:date>
    </item>
  </channel>
</rss>

