ObjectAngle (object icons)

Syntax

<Path>.ObjectAngle:real
Note:

A 3D Only model does not provide the attribute ObjectAngle.

The attribute ObjectAngle sets the angle by which Plant Simulation rotates the icon of the object designated by <Path>. Plant Simulation rotates the icon around the reference point by default. When you deactivate Rotate around Reference Point, the upper left corner of the icon remains at the same location in the Frame for all rotations. Rotating the object retains the existing zoom factor and the mirrored state of the icon. Positive numbers designate a clockwise rotation, negative numbers a counterclockwise rotation.

Note:

Changing the Conveying direction of an icon of an MU also permanently affects the attributes ObjectAngle and ObjectMirrored. Changing the attribute ObjectAngle does not change the conveying direction.

Data Type of the Value You Can Assign

You can assign a value of data type real.

Example

MyStation.ObjectAngle := 45
print MyStation.ObjectAngle

Related Topics

Rotate Icon

resetIcon

ObjectMirrored

_3D.Rotation for 3D objects