Scaling Animation Properties

The Scaling properties allow the draws or control objects to be sized on the screen according to the values obtained (in percentages) in the assignedociated animation variable.

These properties are part of the Draws and Controls 'Animation' properties group.

To edit the Scaling properties, select the object with the mouse and use the Movicon 'Properties Window'.

 

 

Enable

When enabling this check-box the Scaling function in the selected component will be activated. In this way the component can be resized according to the values of the associated Variable during Runtime.

 

The object can be resized in percentages in respect to the original size set in the programming stage. When the 0% value is reached the object will disappear, as the result of not having any sizes, while the 100% value corresponds to the size with which the object was created in the programming stage. Setting percentages greater than 100%, will enlarge the object.

 

Variable

The name of the variable whose value will be used for changing the object's size is entered in this edit box.  As an alternative, you can also use the "..." browse button on the right hand side to select it. The variable's value will be converted into a percentage value as a result from the scaling between the Start/End values and the Start/End Percentage values described below.

 

Start

The Variable's value corresponding to the object's scaling Start Percentage is entered in this edit box.  When the Variable obtains a value lower than this value, the object will remain sized with the Start Percentage.

 

End

The Variable's value that corresponds to the object's scaling End Percentage is entered in this edit box. When the Variable obtains a value higher than this value, the object will remain sized with the Start Percentage.

 

Start Percentage

The Scale's Minimum percentage value which the object may reach is entered in this edit box. It will not be possible to make the object smaller than the percentage value set in this property.

 

End Percentage

The Scale's Maximum percentage value which the object may reach is entered in this edit box. It will not be possible to make the object bigger than the percentage value set in this property.

 

Type

This option box allows you to define the object's size Direction. In this way, the drawing can modify its own scale by expanding or shrinking its size according to its fixed reference point.

Therefore, a symbol indicating the size direction/s should be selelcted.

There are several direction types, and the arrows reported in the drop-down list indicate the direction in which the symbol will be resized.

 

When selecting the second Direction group,  being symbols represented with a red circle and the 'intersection' text, the object will not be resized but made partly visible based on the set scale factors.

 

 

See Also