Moldflow Summit 2018: Automation with API

Similar documents
What s new in Refined UI based on your direct feedback. Increase pre-processing efficiency. Get deeper insight into your design

Autodesk Moldflow Adviser. Design plastics confidently.

Fiber Orientation (3D) Solver Verification and Validation

2014 Autodesk. Helping you make great products

Validation Report: Additional Data Mapping to Structural Analysis Packages

Autodesk Moldflow Adviser. Validate designs quickly.

Questions and Answers

Weld Line Prediction in the 3D Flow Solver

Autodesk SIM 360 Pro FY14 Product Launch FAQ for Autodesk Customers

Moldflow Summit 2018 What s new in Moldflow 2019

Frequently Asked Questions

Eric Henry Simulation Technical Sales - NE

Frequently Asked Questions

Autodesk Revit Architecture 2011

Plastics made perfect

Converting Existing Specs and Catalogs for Use in Autodesk AutoCAD Plant 3D

SD21181-L : Coding New Nodes with Dynamo

Troubleshooting Revit Using Journal Files

ADVANCED POST-PROCESSING OF RESULT FROM MOLDFLOW / MOLDEX3D AND EXTENSION

Creating Fills and Transparency in SketchBookk Designer

Autodesk. Robot Structural Analysis Professional Welcome to the new millennium.

Complete and robust mechanical simulation solution. imaginit.com/simulation-mechanical

Questions and Answers

imaginit.com/simulation Complete and robust mechanical simulation solution

Autodesk Robot Structural Analysis Professional. Comprehensive analysis for your structural projects.

CM6186-L - Autodesk AutoCAD Customization Boot Camp: Basics (No Experience Required)

Fusion 360 strategies for bridging Between digital and physical models

imaginit.com/moldflow Plastics made perfect

Visual Basic Primer A. A. Cousins

Plastics made perfect

Autodesk Moldflow Insight AMI Results

What s New in Autodesk Constructware 2013 Release

Customisation and Automation using the LUSAS Programmable Interface (LPI)

Plant 3D Water content Workflow to transfer to Civil 3D

AutoCAD Lynn Allen s Tips and Tricks

Autodesk Moldflow Insight AMI The Mold

Scalable, robust fluid flow and thermal simulation solution

What s New in Autodesk V a ul t 20 18

Text Data Processing Entity Extraction Dictionary File Generator User's Guide SAP Data Services 4.2 (14.2.0)

Dataset files Download the dataset file Inventor_Course_F1_in_Schools_Dataset.zip. Then extract the files, the default location is C:\F1 in Schools.

VPAT. Voluntary Product Accessibility Template. Version 1.3

Cisco Cloud Services Router 1000V and Amazon Web Services CASE STUDY

Questions and Answers AutoCAD 2013 for Mac

Revit + FormIt Dynamo Studio = Awesome!

Autodesk Moldflow Insight AMI Analysis Overview Tutorial

LUSAS Programmable Interface (LPI) Customisation and Automation Guide. LUSAS Version 15.2 : Issue 1

Configurator 360 Hands-On Lab

SD Get More from 3ds Max with Custom Tool Development

Abaqus Technology Brief. Two-Pass Rolling Simulation

DV1673-L: The Decoding Lab ilogic Intermediate Session. Steve Olson Manager, Training Services for MESA Inc.

LABORATORY OF DATA SCIENCE. Python & Spyder- recap. Data Science & Business Informatics Degree

Cisco Live Event Sponsorship Opportunities

Questions and Answers for Customers

From Desktop to the Cloud with Forge

Program Validation & Data Management Using Autodesk Revit + drofus + an IFC Model Server

The power of BIM for structural engineering. Autodesk Revit. Structure

Utilizing the Fabrication API

Data Mining in Autocad with Data Extraction

Contents. 1 CoreTech System Co., Ltd.

Autodesk Software Grant for F1 in Schools Step by Step Instructions

Autodesk Moldflow Insight AMI Undeerfill Encapsulation

2014 Molding Innovation Day

Disabling the FCoE Function on HPE FlexFabric Adapters from QLogic. Products Affected. HPE FlexFabric 10Gb 2-port 534FLR-SFP B21

Visual Basic 2015 Unleashed Ebooks Gratuit

Networking AutoCAD for Control and Speed

Integrating CaliberRM with Mercury TestDirector

Plastics made perfect

Autodesk Vault What s new in 2015

Autodesk Revit. Structure

Revolutionary Industrial PC for IoT Era With innovative i-modules For flexible expansion

VGMETROLOGY. Maximum Precision, Minimal CT Data Set Sizes

Application Note. Oechsler: Fewer Loops for Better Tools

JMAG-Designer Next Generation Electromagnetic Simulation Pre/Post System

Inside COM+: Base Services (Microsoft Programming Series) Ebooks Free

What s New in Autodesk Inventor 2019

Schedules Can t Do That in Revit 2017

The foundation of BIM for structural engineering. Autodesk Revit. Structure 2010

Read & Download (PDF Kindle) VBScript: Programming Success In A Day: Beginner's Guide To Fast, Easy And Efficient Learning Of VBScript Programming

Getting started 7. Setting properties 23

A case study in adopting Fusion 360 Hockey Skate Adapter

DESIGNER TO ANALYST PROCESS SOLUTIONS Innovate. Evaluate. Validate.

Energy Analysis Workflows for Sustainability

Autodesk Product Design Suite. The flexibility to innovate in one cost-effective package.

Setting up SSL for. Autodesk Vault

Using the Workbench LS-DYNA Extension

3D Printing From Adobe Photoshop CC

How to modify convert task to use variable value from source file in output file name

CISCO IP PHONE 7970G NEW! CISCO IP PHONE 7905G AND 7912G XML

Entertainment ignited

Autodesk Moldflow Insight AMI Cool Analysis Products

Keysight Technologies Database Connectivity Guide for TestExec SL

Autodesk Show Reel Material Submission Guidelines

Sitecore Multilanguage Support : Translation Services Connector

Copyright. Trademarks Attachmate Corporation. All rights reserved. USA Patents Pending. WRQ ReflectionVisual Basic User Guide

Limnor Studio Getting Started

ADDITIVE FERTIGUNG - Was ist das?

What s new in Autodesk 3ds Max 2016

Tips & Techniques in Autodesk Inventor 2013/2014 PLTW - Wisconsin Dec. 10, 2013

Overview of ANSA & Moldex3D Coupling

Questions and Answers

Transcription:

Moldflow Summit 2018: Automation with API Matt Jaworski Sr. Subject Matter Expert, Moldflow Ana Maria Marin TZERO Consultant/Trainer - RJG, Inc. 2018 Autodesk, Inc.

RJG Global Offices Servicing the Plastics Industry since 1989 RJG USA Traverse City, MI (RJG, Inc. Headquarters) Woodstock, GA (Regional Training Center) Gibsonville, NC (Regional Training Center) RJG Mexico Chihuahua, Mexico RJG France Arinthod, France RJG Italy Next Innovation Srl Milano, Italy RJG (S.E.A.) PTE LTD Republic of Singapore RJG China Chengdu, China RJG Korea CAEPro Seoul, Korea RJG Germany Karlstein, Germany RJG Ireland / UK Co Tipperary, Ireland Image courtesy of RJG, Inc. Successful Molding is Based on an Understanding of the Entire Process Global

Half the Battle is Knowing What is Happening in the Mold Process Control Systems and Cavity Pressure Sensing Technology Image courtesy of RJG, Inc.

What is TZERO? Validation Between Engineering and Manufacturing: A Systematic Process GLOBAL End-to End Services Consulting Simulation Training Single Source Solutions Provider for Plastic Injection Molding Image courtesy of RJG, Inc.

API Background

What is the Autodesk Moldflow Insight API? API = Application Programming Interface An Object Linking and Embedding (OLE) programming interface that allows AMI functionality to be automated Manipulation of AMI is done through scripts or third party software Functionality available since MPI 4.0 (2002) Additional functionality added in each major Insight release

What Does the API Do? Increases user productivity for repetitive tasks Customizes the UI, result plots & solvers Supports 3rd party add-on products Enhances integration to other applications ERP, CAD/CAE, MS Office Excel/Word/PPT Supports university research programs Standardizes corporate protocols and best practices Supports industry data formats

Object Linking and Embedding (OLE) Introduction An OLE automation client is needed to control the API though Autodesk Moldflow Insight (AMI) Visual Basic Script or vbscript (VBS) AMI records all scripts in Visual Basic Script The only OLE that Autodesk offers help/support for Other Potential Interfaces JScript and other programming languages Visual Basic for Applications (VBA) Visual Basic (VB) Perl Python ActiveX scripts in Internet Explorer

Object Linking and Embedding (OLE) Introduction The OLE automation interface will automatically use the version of Synergy (AMI s GUI) that was most recently executed on your computer If you last opened an early version of AMI/MPI and try to run a macro or script that uses features that are not supported, your macro or script will generate an error

Running Multiple Synergy Instances Prior to the 2016 Release it was only possible to run 1 API instance across all Synergy Instances API now works with multiple Synergy instances You can launch a macro for a specific instance of Synergy on the local machine, using the InstanceID that you can find in the Help > About box

Running Multiple Synergy Instances Edit Macros recorded/written prior to the 2016 Add the following code segment '%RunPerInstance Must be first line to avoid this message 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 Code to Ensure Correct Instance is executed

API On-line Help Valuable resource for the beginner or expert user Accessed via Help > Automation > Synergy Application Programming Interface (API)

Example Help VB Scripts Nice starting scripts located in Examples section Good variety of common uses Accessed via Help > Automation > Examples

Synergy API Reference Manual

Class Member

TCode Reference A TCode corresponds to a single feature in the process settings, geometry or solver parameters When programming with the Moldflow API, you need to know the numeric ID corresponding to a particular solver or modeling feature

TCodeset Reference A TCodeset comprises the TCodes which together control one aspect of a solver When programming with the Moldflow API, you need to know the numeric ID corresponding to a particular solver or modeling feature

Vbscript Editors/Debuggers Summary Notepad++ Editor Only vbsedit Editor/Debugger Microsoft Visual Studio Editor/Debugger

Notepad ++ Great tool for writing and editing scripts Really an editor only Nice features compared to regular Notepad Free

Notepad ++ Great tool for writing, debugging and editing scripts Free version available Does have nagging timer to get you to buy

vbscript Programming Resources Online Include the word vbscript in any searches Searches often returns results for Visual Basic for Applications(VBA) VBA is compiled, vbscript is interpreted There are a number of user guides for vbscript Search for vbscript Language Reference or vbscript User Guide Books VBScript in a Nutshell

StudyMod StudyMod - Modify an existing Study file Allows changes to Boundary Conditions Mesh Processing Settings Materials Not designed to create/add/modify geometry Modifier file is in XML format NAME: Studymod - Modify a study File SYNOPSIS: studymod <InputStudy> <OutputStudy> <ModifierFile>

StudyMod Example Modifier File Set the Melt Temperature to 240C <?xml version="1.0" encoding="utf-8"?> <StudyMod title="autodesk StudyMod" ver="1.00"> <UnitSystem>Metric</UnitSystem> <Property> <TSet> <!--Process controller--> <ID>30011</ID> <SubID>1</SubID> <!--Melt temperature--> <TCode> <ID>11002</ID> <Description>Melt temperature</description> <Value>240</Value> </TCode> </TSet> </Property> </StudyMod>

StudyRlt StudyRlt Extract Results Data Data which can be extracted Individual message output (-message) Sequence screen output (-exportoutput) Result in XML format (-xml) Model in Patran format (-exportpatran) Value from Result Data (-result) By Region/Layer Calculation: Min/Max/Average

StudyRlt Example From Command Line NAME: Studyrlt - Result Extraction Utility SYNOPSIS: studyrlt <study> -message <sequence> <message ID> <occurrence> <item> [-unit SI Metric English] <study> -exportoutput [<sequence>] [-output <filename>] [-unit SI Metric English] <study> -exportwarp <result ID> -actual -opposite -scale <x> -output <filename> [-unit SI Metric English] <study> -xml <result ID> <study> -exportpatran <study> -result <result ID> -min -max -average -stddev -count -node <node number> -element <element number> [-layer <layer name> -cavity -gate -runner -sprue] [-component <number> [-anchor <node1> <node2> <node3>] [-unit SI Metric English]

Autodesk and the Autodesk logo are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and/or other countries. All other brand names, product names, or trademarks belong to their respective holders. Autodesk reserves the right to alter product and services offerings, and specifications and pricing at any time without notice, and is not responsible for typographical or graphical errors that may appear in this document. 2018 Autodesk. All rights reserved.