2. Object Scaling
About this task
- Scaling overview
- Scaling configuration
Scaling Overview
When you use CimEdit's scaling feature to configure an object, its horizontal and / or vertical dimensions will change during runtime based on the current value of one or two expressions. This is another way for a CimView user to be ably to glance quickly at a CimView screen and see when a change occurs.
If you define both horizontal and vertical scaling for an object, you may use different expressions, minimums, maximums, percent scales, and fixed locations for each scaling.
- Text objects will only change size when scaled vertically.
- Text Button objects with Auto Size checked will not change size when scaled.
Procedure
- Select the object you want to scale.
- Open the object's Properties dialog box.
-
Configure either or both of the following.
- W - Width scale.
- H - Height scale.
Scaling Configuration
Select Scaling in the Properties dialog box.
Runtime horizontal and vertical scaling specifications are as follows.
A Expression B Expr min/max C Percent scale D Fixed location A Expression A point ID or expression that will determine the object location between the START and END positions.
Opens the Expression Editor. Opens a Popup menu. B Expr. min/max Min Max C Percent scale The percent scale is calculated by dividing the object's end size (largest width/height) by the object's start size (smallest width/height).
Status bar
- Place the object's horizontal/vertical width in the START size.
- Select the object.
- Note the horizontal/vertical sizes in the CimEdit status bar.
-
Do the same for the object's END position.
Properties Dialog Box
- Place the object's horizontal/vertical width in the START size.
- Open the Properties dialog box for the object.
- Select Geometry.
-
Note the values in the PositionWidth and/or Height fields.
Example
Dimension Field W Width Width H Height Height - Close the Properties dialog box.
- Do the same for the object's END size.
-
Divide the END by START values.
The value is the size the object will expand to on the CimView screen.
Example: Horizontal
Maximum Width/Minimum Width = Percent
105/29 = 362
(%)Example: Vertical
Maximum Height/Minimum Height = Percent
65/28 = 232(%)
D Fixed Location The starting point for scaling is as follows.
Option Side of object starts from: Left Left Center Center Right Right