v5.1
Sets or returns the scaling in x of this transformation as a Double (floating-point value).
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; |