v5.1
Sets or returns the rotation angle (in degrees) around the x axis of this transformation as a Double (floating-point value).
var oRoot = Application.ActiveProject.ActiveScene.Root;
var oCube = oRoot.AddGeometry("Cube","MeshSurface");
oTrans = oCube.Kinematics.Local.Transform
//Change the rotation around x axe (The angle is in degree)
oTrans.RotX = 45;
oCube.Kinematics.Local.Transform = oTrans;
|