SITransformation.PosX
 
 
 

SITransformation.PosX

Introduced

v5.1

Description

Sets or returns the x coordinate of this transformation as a Double (floating-point value).

C# Syntax

// get accessor
Double rtn = ISITransformation.PosX;
// set accessor
ISITransformation.PosX = Double;

Examples

JScript Example

var oRoot = Application.ActiveProject.ActiveScene.Root;
var oCube = oRoot.AddGeometry("Cube","MeshSurface");
oTrans = oCube.Kinematics.Local.Transform
//Change the x position 
oTrans.PosX = 1.25 ;
oCube.Kinematics.Local.Transform = oTrans;

See Also

SITransformation.PosY SITransformation.PosZ SITransformation.GetTranslation SITransformation.SetTranslation