<?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 vbs script - fiber orientation calculation (3D) model in Moldflow Insight Forum</title>
    <link>https://forums.autodesk.com/t5/moldflow-insight-forum/vbs-script-fiber-orientation-calculation-3d-model/m-p/7332677#M5275</link>
    <description>&lt;P&gt;&lt;FONT face="andale mono,times"&gt;Hello everyone,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;I want to automatic change the &lt;STRONG&gt;fiber orientation calculation (3D) model&lt;/STRONG&gt; &lt;EM&gt;(select Material &amp;gt;&amp;gt; Details &amp;gt;&amp;gt; Filler/Fiber)&lt;/EM&gt; and &lt;STRONG&gt;specify the setting&lt;/STRONG&gt;s of the model with part of a vbs script, used in a python script. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;My Problem is, that the Moldflow Insight macro tool didn't collect the Informations for vbs during the&amp;nbsp;manual variation of the model and it's properties. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;The synergy API reference didn't helped me either, but that could be my fault. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;Changing the settings outside of moldflow in a copied .udb file could be an alternative, but i failed by reading the .udb file...&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;Maybe someone has got any suggestions, that would be nice.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;Thanks very much.&lt;/FONT&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;Ps.: using Moldflow Insight 2018.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Aug 2017 09:58:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-08-28T09:58:22Z</dc:date>
    <item>
      <title>vbs script - fiber orientation calculation (3D) model</title>
      <link>https://forums.autodesk.com/t5/moldflow-insight-forum/vbs-script-fiber-orientation-calculation-3d-model/m-p/7332677#M5275</link>
      <description>&lt;P&gt;&lt;FONT face="andale mono,times"&gt;Hello everyone,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;I want to automatic change the &lt;STRONG&gt;fiber orientation calculation (3D) model&lt;/STRONG&gt; &lt;EM&gt;(select Material &amp;gt;&amp;gt; Details &amp;gt;&amp;gt; Filler/Fiber)&lt;/EM&gt; and &lt;STRONG&gt;specify the setting&lt;/STRONG&gt;s of the model with part of a vbs script, used in a python script. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;My Problem is, that the Moldflow Insight macro tool didn't collect the Informations for vbs during the&amp;nbsp;manual variation of the model and it's properties. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;The synergy API reference didn't helped me either, but that could be my fault. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;Changing the settings outside of moldflow in a copied .udb file could be an alternative, but i failed by reading the .udb file...&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;Maybe someone has got any suggestions, that would be nice.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;Thanks very much.&lt;/FONT&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;Ps.: using Moldflow Insight 2018.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2017 09:58:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/moldflow-insight-forum/vbs-script-fiber-orientation-calculation-3d-model/m-p/7332677#M5275</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-28T09:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: vbs script - fiber orientation calculation (3D) model</title>
      <link>https://forums.autodesk.com/t5/moldflow-insight-forum/vbs-script-fiber-orientation-calculation-3d-model/m-p/7332864#M5276</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;could you try via Process Settings wizard?&lt;/P&gt;
&lt;P&gt;(Or maybe you already did...?)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It normally collect the settings and property codes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;When active study: Start recording&lt;/LI&gt;
&lt;LI&gt;Enter Process Settings&lt;/LI&gt;
&lt;LI&gt;Advanced Options...&lt;/LI&gt;
&lt;LI&gt;Molding Material: click Edit...&lt;/LI&gt;
&lt;LI&gt;Select tab Filler and change properties.&lt;/LI&gt;
&lt;LI&gt;Exit with OK&lt;/LI&gt;
&lt;LI&gt;Stop Recording&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit .vbs-file to review code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Berndt&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In below example I changed E-modulus, 1st and&amp;nbsp;2nd&amp;nbsp;of Filler from 72.000 to 80.000.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Synergy.SetUnits "Metric"
Set PropEd = Synergy.PropertyEditor()
Set Prop = PropEd.FindProperty(21000, 2)
Set DVec = Synergy.CreateDoubleArray()
DVec.AddDouble 40
DVec.AddDouble 2.54
DVec.AddDouble 700
DVec.AddDouble 1
DVec.AddDouble 80000
DVec.AddDouble 80000
DVec.AddDouble 0.22
DVec.AddDouble 0.22
DVec.AddDouble 29510
DVec.AddDouble 5e-006
DVec.AddDouble 5e-006
DVec.AddDouble 3500
DVec.AddDouble 3500
DVec.AddDouble 25
Prop.FieldValues 3001, DVec
Set DVec = Synergy.CreateDoubleArray()
DVec.AddDouble 0
DVec.AddDouble 0
DVec.AddDouble 0
Prop.FieldValues 3913, DVec
PropEd.CommitChanges "Process Conditions"&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Aug 2017 11:49:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/moldflow-insight-forum/vbs-script-fiber-orientation-calculation-3d-model/m-p/7332864#M5276</guid>
      <dc:creator>bernor_mf</dc:creator>
      <dc:date>2017-08-28T11:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: vbs script - fiber orientation calculation (3D) model</title>
      <link>https://forums.autodesk.com/t5/moldflow-insight-forum/vbs-script-fiber-orientation-calculation-3d-model/m-p/7332885#M5277</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;it should be possible for&amp;nbsp;solver parameters as well:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When recording , via Process Settings, Advanced Options... Solver Parameters Edit...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This example uses&lt;/P&gt;
&lt;P&gt;&amp;nbsp;3 = RSC or ARD-RSC model (determined by length)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Set PropEd = Synergy.PropertyEditor()
Set Prop = PropEd.FindProperty(10080, 1)
Set DVec = Synergy.CreateDoubleArray()
DVec.AddDouble 3
Prop.FieldValues 635, DVec
PropEd.CommitChanges "Process Conditions"&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1 class="topictitle1"&gt;635 Calculate fiber orientation using&lt;/H1&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="nested1" id="tcode_635_index_1" lang="en-us"&gt;&lt;A name="tcode_635_index_1" shape="rect" target="_blank"&gt;&lt;/A&gt;&lt;!-- --&gt;
&lt;H2 class="topictitle2"&gt;[data item 0] Calculate fiber orientation using&lt;/H2&gt;
&lt;DIV&gt;
&lt;DIV class="section"&gt;
&lt;H3 class="sectiontitle"&gt;Data type&lt;/H3&gt;
enumeration&lt;BR clear="none" /&gt;
&lt;UL&gt;
&lt;LI class="tcode-data-default"&gt;1 = Folgar-Tucker model with auto-calculated Ci&lt;/LI&gt;
&lt;LI&gt;2 = Folgar-Tucker model with specified Ci&lt;/LI&gt;
&lt;LI&gt;3 = RSC or ARD-RSC model (determined by length)&lt;/LI&gt;
&lt;LI&gt;4 = RSC model with specified Ci&lt;/LI&gt;
&lt;LI&gt;5 = ARD-RSC model for long fibers&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If not, maybe a defect in release.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps, and what you are looking for.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Berndt&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 28 Aug 2017 11:56:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/moldflow-insight-forum/vbs-script-fiber-orientation-calculation-3d-model/m-p/7332885#M5277</guid>
      <dc:creator>bernor_mf</dc:creator>
      <dc:date>2017-08-28T11:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: vbs script - fiber orientation calculation (3D) model</title>
      <link>https://forums.autodesk.com/t5/moldflow-insight-forum/vbs-script-fiber-orientation-calculation-3d-model/m-p/7335546#M5278</link>
      <description>&lt;P&gt;Hey Berndt,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks a lot,&lt;/P&gt;&lt;P&gt;with that Property Path it works.&lt;/P&gt;&lt;P&gt;Now I have Input to play with!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2017 11:14:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/moldflow-insight-forum/vbs-script-fiber-orientation-calculation-3d-model/m-p/7335546#M5278</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-29T11:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: vbs script - fiber orientation calculation (3D) model</title>
      <link>https://forums.autodesk.com/t5/moldflow-insight-forum/vbs-script-fiber-orientation-calculation-3d-model/m-p/7335561#M5279</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;happy to hear&amp;nbsp;it resolves your issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Happy programming &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&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>Tue, 29 Aug 2017 11:20:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/moldflow-insight-forum/vbs-script-fiber-orientation-calculation-3d-model/m-p/7335561#M5279</guid>
      <dc:creator>bernor_mf</dc:creator>
      <dc:date>2017-08-29T11:20:53Z</dc:date>
    </item>
  </channel>
</rss>

