An extension to the previous example is the ability to change the material of the parts in the XML output. Within the SMS_PART node, specify the new material within the MATERIAL_LOOKUP attribute. The value should reference a node in the SMS_MATERIAL_LOOKUP table. This value will be used to lookup material type and grade which will then be added in the XML output instead of the original material of the profile part.
<SMS_PARTS NAME="Profile-Profile">
<SMS_PART KEY="FB_1" MATERIAL_LOOKUP="MATERIAL_CARBON_A" COMPONENT_LOOKUP="FB_1" >
<SMS_CELL NAME="WEB" OUTPUT_UPSIDE_FACE="webleft"/>
</SMS_PART>
<SMS_PART KEY="FB_2" COMPONENT_LOOKUP="FB_2" >
<SMS_CELL NAME="TOP_FLANGE" OUTPUT_UPSIDE_FACE="webleft"/>
</SMS_PART>
</SMS_PARTS>