I found that moving blocks of text around is helping me understand a little on how Anim8or can be set to link objects in hiearchal form. I still get frame read and commentary errors, but the model file seems somewhat intact in terms of 3d Exploration being able to display them for viewing. The text block I moved is listed below to show what I copied and moved to be under area of the XSI script that I've been working on from the original script created by Raxx. I could really use some feedback on how to get rid of the frame read and commentary error. I posted a pic of the hiearchal display and actual errors in 3DEX. Thanks, Leroy. PS: I attached the modified script for others to take a look at and possibly modify it some more.
$curObject.GetShapes($childShapes);
$shapes.size = 0;
while ($childShapes.size > 0)
$shapes.push($childShapes.pop());
/*$output.print("Frame Frm {\n FrameTransformMatrix {\n 1.000000,0.000000,0.000000,0.000000,\n 0.000000,1.000000,0.000000,0.000000,\n 0.000000,0.000000,1.000000,0.000000,\n 0.000000,0.000000,0.000000,1.000000;;\n }\n");*/
while ($shapes.size > 0) {
$shape = $shapes.pop();
if ($shape.GetKind() == SHAPE_KIND_GROUP) {
$shape.GetShapes($childShapes);
while ($childShapes.size > 0) {
$shapes.push($childShapes.pop());
$output.print("Frame %s {\nFrameTransformMatrix {\n", $shape.name);
$transformMat = $shape.GetGlobalTransform();
$tr4=$transformMat.Project((0.0,0.0,0.0));
$tr1=$transformMat.Project((1.0,0.0,0.0))-$tr4;
$tr2=$transformMat.Project((0.0,1.0,0.0))-$tr4;
$tr3=$transformMat.Project((0.0,0.0,1.0))-$tr4;
$output.print(" %.6f,%.6f,%.6f,0.000000,\n",$tr1);
$output.print(" %.6f,%.6f,%.6f,0.000000,\n",$tr2);
$output.print(" %.6f,%.6f,%.6f,0.000000,\n",$tr3);
$output.print(" %.6f,%.6f,%.6f,1.000000;;\n }\n",$tr4);