v5.1
Sets or returns the scaling in x of this transformation as a Double (floating-point value).
// get accessor Double rtn = ISITransformation.SclX; // set accessor ISITransformation.SclX = Double; |
var oRoot = Application.ActiveProject.ActiveScene.Root;
var oCube = oRoot.AddGeometry("Cube","MeshSurface");
oTrans = oTrans = oCube.Kinematics.Local.Transform
//Change the scaling in x direction
oTrans.SclX = 1.25 ;
oCube.Kinematics.Local.Transform = oTrans; |