Injection Molding Process Control Panel

adevadkar
Advocate

Injection Molding Process Control Panel

adevadkar
Advocate
Advocate

Hello Guys,
I am creating macro to take Processing input from Excel sheet to the Moldflow to set the injection molding window.
Like the Control Panel of Injection molding Machine for Moldflow can anyone help to link the excel and Moldflow.
Also Created Moldflow IDEA post for the Same Vote for this to get this feature in Moldflow.

 Injection Molding Process Control Panel - Autodesk Community

-Thanks in Advance

0 Likes
Reply
471 Views
2 Replies
Replies (2)

bernor_mf
Advisor
Advisor

@adevadkar 

Hi,

First you need access in Excel to the Developer tab,

Show the Developer tab

On the File tab, go to Options > Customize Ribbon.
Under Customize the Ribbon and under Main Tabs, select the Developer check box.

 

To connect Excel to Moldflow Synergy, the code is similar as for vbs.

Prompt out Set Locale. It will cause a syntax error.

 

'SetLocale ("en-us")  : For vbs
  Dim SynergyGetter, Synergy
  On Error Resume Next
  Set SynergyGetter = GetObject(CreateObject("WScript.Shell").ExpandEnvironmentStrings("%SAInstance%"))
  On Error GoTo 0
  If (Not IsEmpty(SynergyGetter)) Then
    Set Synergy = SynergyGetter.GetSASynergy
  Else
    Set Synergy = CreateObject("synergy.Synergy")
  End If
  Synergy.SetUnits "Metric"

 


 The coding is in general similar, but not always 1:1 , vbs:vba.

Hope this helps to get you started,

Regards,

Berndt

( If my comments are accepted, provide "Kudos" as appreciation. If your request is answered/resolved, please click the "Accept as Solution" button. Thanks.)
0 Likes

bernor_mf
Advisor
Advisor

Hi,

I posted this idea a while ago:

Transfer from relative processing conditions to absolute IMM setup

Kudos if you agree. 😊

 

Regards,

Berndt

( If my comments are accepted, provide "Kudos" as appreciation. If your request is answered/resolved, please click the "Accept as Solution" button. Thanks.)