Example 2 - Select a material that is included in the Modifier file

The following script provides an example of how to select a different material for the second overmolding shot. This material data is included in the Modifier file.

<?xml version="1.0" encoding="utf-8"?>
<!-- Change material for the second shot to “Styron 678” from “Americas Styrenics” -->
<!-- The database file ".udb" is located in the same folder as the modifier file -->
<StudyMod title="Autodesk StudyMod" ver="1.00">
	<UnitSystem>Metric</UnitSystem>
	<Material Location="Americas Styrenics.21000.udb" ID="1382" Shot="2"/>
</StudyMod>

Explanation

Within the Modifier file is a database called "Americas Styrenics". This database contains the material information for Styron 678. Styron 678 has a Material ID of 1382.

This material information will be imported using metric units for use as the second shot in an overmolding process.