private string CreateBone(GrnBone bone)
{
string boneNode = "boneNode";
Maxscript.Command("boneNode = dummy name:\"{0}\" boxsize:[0.25,0.25,0.25]", bone.Name);
Maxscript.Command("boneNode.transform = {0}", this.GetBoneLocalTransform(bone, "boneTransMat"));
//this.GetBoneLocalTransform(bone, "tfm");
//Maxscript.Command("boneNode = bonesys.createbone tfm.row4 (tfm.row4 + 0.01 * (normalize tfm.row1)) (normalize tfm.row3)");
//Maxscript.Command("boneNode.name = \"{0}\"", bone.Name);
//Maxscript.Command("boneNode.width = 0.1");
//Maxscript.Command("boneNode.height = 0.1");
//Maxscript.Command("boneNode.wirecolor = yellow");
//Maxscript.Command("boneNode.showlinks = true");
//Maxscript.Command("boneNode.setBoneEnable false 0");
//Maxscript.Command("boneNode.pos.controller = TCB_position ()");
//Maxscript.Command("boneNode.rotation.controller = TCB_rotation ()");
return boneNode;
}