<?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 How to enter process parameters in batches for automatic analysis in Moldflow Insight Forum</title>
    <link>https://forums.autodesk.com/t5/moldflow-insight-forum/how-to-enter-process-parameters-in-batches-for-automatic/m-p/13205422#M218</link>
    <description>&lt;P&gt;There are 37 different process settings in the picture below, how do I get the software to automatically set these process parameters and analyze them? Instead of manually changing the process parameters every time the scheme is re-replicated.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Dec 2024 14:22:36 GMT</pubDate>
    <dc:creator>1292909313</dc:creator>
    <dc:date>2024-12-11T14:22:36Z</dc:date>
    <item>
      <title>How to enter process parameters in batches for automatic analysis</title>
      <link>https://forums.autodesk.com/t5/moldflow-insight-forum/how-to-enter-process-parameters-in-batches-for-automatic/m-p/13205422#M218</link>
      <description>&lt;P&gt;There are 37 different process settings in the picture below, how do I get the software to automatically set these process parameters and analyze them? Instead of manually changing the process parameters every time the scheme is re-replicated.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 14:22:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/moldflow-insight-forum/how-to-enter-process-parameters-in-batches-for-automatic/m-p/13205422#M218</guid>
      <dc:creator>1292909313</dc:creator>
      <dc:date>2024-12-11T14:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to enter process parameters in batches for automatic analysis</title>
      <link>https://forums.autodesk.com/t5/moldflow-insight-forum/how-to-enter-process-parameters-in-batches-for-automatic/m-p/13207320#M219</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15603421"&gt;@1292909313&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;this is possible with Synergy API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest you record your workflow in a macro.&lt;/P&gt;
&lt;P&gt;This will give the basic code needed.&lt;/P&gt;
&lt;P&gt;Such as: Open study , set parameters, save to new name and close.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Suggest to put parameters in file, that could be read.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So some programming needed to accomplish this automation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, I do not have an off the shelf solution for this, but hope this gives some ideas.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Berndt&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 12:04:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/moldflow-insight-forum/how-to-enter-process-parameters-in-batches-for-automatic/m-p/13207320#M219</guid>
      <dc:creator>bernor_mf</dc:creator>
      <dc:date>2024-12-12T12:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to enter process parameters in batches for automatic analysis</title>
      <link>https://forums.autodesk.com/t5/moldflow-insight-forum/how-to-enter-process-parameters-in-batches-for-automatic/m-p/13215217#M220</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have another method. Almost all steps are same as bernor_mf's solution.&lt;/P&gt;&lt;P&gt;Using "studymod" command with Windows batch file(.bat).&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.autodesk.com/view/MFIA/2025/ENU/?guid=MFLO_THE_STUDYMOD_UTILITY" target="_blank"&gt;Moldflow Insight Help | The studymod utility | Autodesk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Base study file + modifier XMLfiles -&amp;gt; specific molding condition study files&lt;/P&gt;&lt;P&gt;37 XML files and a 37 line .bat file are needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(1)First, you specify TCODE from tcode.dat file in Moldflow folder or Macro recording&lt;/P&gt;&lt;P&gt;(2)Make modifier XML file each molding condition by some what your favorite macro. I will write down below.&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.autodesk.com/view/MFIA/2025/ENU/?guid=MFLO_EXAMPLE_1__EDITING_PROCESS_SETTINGS" target="_blank"&gt;Moldflow Insight Help | Example 1 - Editing process settings | Autodesk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(3)"studymod base.sdy mod01.xml" 37times in .bat file&lt;/P&gt;&lt;P&gt;(4)run .bat file in Synergy command shell&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----Excel VBA Example to generate modifier XML file from Excel table format&lt;/P&gt;&lt;P&gt;Sub GenerateXML()&lt;BR /&gt;Dim header(20) As String, footer(5) As String&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Let header(1) = "&amp;lt;?xml version=""1.0"" encoding=""utf-8""?&amp;gt;"&lt;BR /&gt;Let header(2) = "&amp;lt;StudyMod title=""Autodesk StudyMod"" ver=""1.00""&amp;gt;"&lt;BR /&gt;Let header(3) = " &amp;lt;UnitSystem&amp;gt;Metric&amp;lt;/UnitSystem&amp;gt;"&lt;BR /&gt;Let header(4) = " &amp;lt;Material ID=" &amp;amp; """" &amp;amp; Sheets(1).Range("Q3") &amp;amp; """" &amp;amp; "/&amp;gt;"&lt;BR /&gt;Let header(5) = " &amp;lt;Property&amp;gt;"&lt;BR /&gt;Let header(6) = " &amp;lt;TSet&amp;gt;"&lt;BR /&gt;Let header(7) = " &amp;lt;!--Process controller--&amp;gt;"&lt;BR /&gt;Let header(8) = " &amp;lt;ID&amp;gt;30011&amp;lt;/ID&amp;gt;"&lt;BR /&gt;Let header(9) = " &amp;lt;SubID&amp;gt;1&amp;lt;/SubID&amp;gt;"&lt;BR /&gt;Let footer(1) = " &amp;lt;/TSet&amp;gt;"&lt;BR /&gt;Let footer(2) = " &amp;lt;/Property&amp;gt;"&lt;BR /&gt;Let footer(3) = "&amp;lt;/StudyMod&amp;gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Open ThisWorkbook.Path &amp;amp; "\" &amp;amp; Sheets(1).Range("E3") &amp;amp; ".bat" For Append As #2 'Windows batch file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For i = 1 To 10&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Open ThisWorkbook.Path &amp;amp; "\" &amp;amp; Sheets(1).Range("W" &amp;amp; i + 6) For Append As #1 'Modifier XML file&lt;BR /&gt;&amp;nbsp; &amp;nbsp; For j = 1 To 9&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Print #1, header(j)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Next j&lt;BR /&gt;&amp;nbsp; &amp;nbsp; 'Write each molding condition to XML&lt;BR /&gt;&amp;nbsp; &amp;nbsp; For j = 14 To 17&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Print #1, "&amp;lt;!--" &amp;amp; Sheets(1).Cells(5, j) &amp;amp; "--&amp;gt;"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Print #1, " &amp;lt;TCode&amp;gt;"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Print #1, " &amp;lt;ID&amp;gt;" &amp;amp; Sheets(1).Cells(6, j) &amp;amp; "&amp;lt;/ID&amp;gt;"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Print #1, " &amp;lt;Value&amp;gt;" &amp;amp; Sheets(1).Cells(i + 6, j) &amp;amp; "&amp;lt;/Value&amp;gt;"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Print #1, " &amp;lt;/TCode&amp;gt;"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Next j&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; '(now j=18)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Print #1, "&amp;lt;!--" &amp;amp; Sheets(1).Cells(5, j) &amp;amp; "--&amp;gt;"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Print #1, " &amp;lt;TCode&amp;gt;"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Print #1, " &amp;lt;ID&amp;gt;" &amp;amp; Sheets(1).Cells(6, j) &amp;amp; "&amp;lt;/ID&amp;gt;"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Print #1, " &amp;lt;Value&amp;gt;" &amp;amp; Sheets(1).Cells(i + 6, j) &amp;amp; "&amp;lt;/Value&amp;gt;"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Print #1, " &amp;lt;Value&amp;gt;" &amp;amp; Sheets(1).Cells(i + 6, j + 1) &amp;amp; "&amp;lt;/Value&amp;gt;"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Print #1, " &amp;lt;Value&amp;gt;" &amp;amp; Sheets(1).Cells(i + 6, j + 2) &amp;amp; "&amp;lt;/Value&amp;gt;"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Print #1, " &amp;lt;/TCode&amp;gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; 'Write last 3 lines&lt;BR /&gt;&amp;nbsp; &amp;nbsp; For j = 1 To 3&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Print #1, footer(j)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Next j&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Close #1&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ' Append a Windows command line to the .bat file&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Print #2, "studymod " &amp;amp; Sheets(1).Range("U" &amp;amp; i + 6) &amp;amp; " " &amp;amp; Sheets(1).Range("V" &amp;amp; i + 6) &amp;amp; " " &amp;amp; Sheets(1).Range("W" &amp;amp; i + 6)&lt;BR /&gt;Next i&lt;BR /&gt;Close #2&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hfujitaDXJU5_0-1734414176869.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1446662iAAA65CA1C8F89B76/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hfujitaDXJU5_0-1734414176869.png" alt="hfujitaDXJU5_0-1734414176869.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>Tue, 17 Dec 2024 05:46:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/moldflow-insight-forum/how-to-enter-process-parameters-in-batches-for-automatic/m-p/13215217#M220</guid>
      <dc:creator>h-fujitaDXJU5</dc:creator>
      <dc:date>2024-12-17T05:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to enter process parameters in batches for automatic analysis</title>
      <link>https://forums.autodesk.com/t5/moldflow-insight-forum/how-to-enter-process-parameters-in-batches-for-automatic/m-p/13215518#M221</link>
      <description>&lt;P&gt;Thanks a lot, I've solved this with python&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 08:51:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/moldflow-insight-forum/how-to-enter-process-parameters-in-batches-for-automatic/m-p/13215518#M221</guid>
      <dc:creator>1292909313</dc:creator>
      <dc:date>2024-12-17T08:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to enter process parameters in batches for automatic analysis</title>
      <link>https://forums.autodesk.com/t5/moldflow-insight-forum/how-to-enter-process-parameters-in-batches-for-automatic/m-p/13215521#M222</link>
      <description>Thanks a lot, I've solved this with python</description>
      <pubDate>Tue, 17 Dec 2024 08:52:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/moldflow-insight-forum/how-to-enter-process-parameters-in-batches-for-automatic/m-p/13215521#M222</guid>
      <dc:creator>1292909313</dc:creator>
      <dc:date>2024-12-17T08:52:08Z</dc:date>
    </item>
  </channel>
</rss>

