Scale

Syntax

<Path>.Scale:real/real[3]

The attribute Scale sets the scaling of the graphic designated by <Path>.

Note:

When you assign the attribute, Plant Simulation deactivates graphic inheritance.

Note:

You cannot assign the attribute when the graphic is located in an automatically generated graphic group.

Data Type of the Value You Can Assign

You can specify:

  • A value of data type real which sets a uniform scaling.

  • An array of data type real with three values that sets the scaling factors along the X-axis, the Y-axis, and the Z-axis.

Example

obj._3D.getGraphic("default", [1,7]).Scale := 1
var w : real[3] := obj._3D.getGraphic("deco", [1,7]).Scale

Related Topic

_3D.getGraphic

_3D.Scale

X (array)

Y (array)

Z (array)

Edit 3D Properties > Tab Transformation > Settings for the Scale