This example shows how to output the rectangular tube as a single profile part consisting of all four faces that make up the rectangular tube. This type of output is similar to what is seen by default for angle and I Bar profiles, but when using the XML this approach can be extended to as many faces as needed instead of being limited to web, top flange and bottom flange.
<SMS_PARTS NAME="Profile-Profile">
<SMS_PART KEY="RT_1" TYPE="PROFILE" MATERIAL_LOOKUP="MATERIAL_CARBON_A" COMPONENT_LOOKUP="RT_1">
<SMS_CELL NAME="WEBL" OUTPUT_UPSIDE_FACE="base">
<SMS_OFFSET OFFSET_LOOKUP="WEB_OFFSET" RATIO_Y="1.0" OFFSET_GAP="0.1"/>
</SMS_CELL>
<SMS_CELL NAME="TOP_FLANGE" OUTPUT_UPSIDE_FACE="top_flange_top">
<SMS_OFFSET OFFSET_LOOKUP="WEB_OFFSET" RATIO_Y=".5" OFFSET_GAP="0.1"/>
</SMS_CELL>
<SMS_CELL NAME="WEBR" OUTPUT_UPSIDE_FACE="webright">
<SMS_OFFSET OFFSET_LOOKUP="WEB_OFFSET" RATIO_Y="1.0" OFFSET_GAP="0.1"/>
</SMS_CELL>
<SMS_CELL NAME="BOTTOM_FLANGE" OUTPUT_UPSIDE_FACE="bottom_flange_bottom">
<SMS_OFFSET OFFSET_LOOKUP="WEB_OFFSET" RATIO_Y=".5" OFFSET_GAP="0.1"/>
</SMS_CELL>
</SMS_PART>
</SMS_PARTS>
</SMS_MFG_AS_PART>