Accessing the Transformation

Plant Simulation provides these attributes and methods for accessing the transformation of objects in 3D:

_3D.concatenateRotations, _3D.CornerPoints, _3D.getWorldCoordinate, _3D.getWorldRotation, _3D.Mirror, _3D.Position, _3D.PositionsConnected_3D.Rotation, _3D.RotationsConnected, _3D.Scale, and _3D.ScaleAutomatically, _3D.TransformationMatrix.

To access the attributes in 3D you can enter:

object._3D.NameOfTheAttribute designates the path to the attribute of the 3D object.

To set an attribute, you will type object._3D.NameOfTheAttribute := "MyString"

You can view and access the attributes and methods for setting the transformation by clicking Auto Complete on the Edit ribbon tab of the method editor.