Support of
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Important:
If Display-As-Entered parameter is not
defined, it is considered as true for properties with no preferred
unit. However, for properties with a preferred unit, this unit is used and
Display-As-Entered is considered as
false. |
KeepFormat ParameterThe KeepFormat parameter is related to the numerical value of real
properties, with or without a dimension unit. If users change the format of a property (for
example, specify a positive of negative sign before the value, or add zeros before or after
the value):
KeepFormat parameter is true for this
property in the modeler's definition, the property is displayed in the format specified
by the user.KeepFormat parameter is false for this
property in the modeler's definition, the property is changed to the original
format.The Administrator can define a preferred unit in the Display Units panel of the Collaborative Spaces Control Center. For more information, see Configuring the Display Properties.
The behavior of the unit and format of real properties with a dimension unit in
New... commands and the Properties tab of
the Information panel relies on this precedence order:
Display-As-Entered > KeepFormat > Preferred unit defined
by the Administrator > Default unit defined by the user in .
Important:
For real properties with a dimension
unit, if Display-As-Entered is false, then KeepFormat
parameter is ignored. If users change the unit when editing a property, and this value is
converted to either the preferred or the default unit, KeepFormat is not
taken into account even if it is true. However, if a preferred unit is specified for
the property and users enter a value in this preferred unit, For
real properties without dimension unit, |
For properties without authorized values and properties that allow several values, users
can enter values in different units. However, the behavior follows the logic of
Display-As-Entered definition:
Display-As-Entered is true, the values are kept
in the different units, as entered by the user.Display-As-Entered is false, the values are
converted to the equivalent value in the default unit or the preferred unit (if
any).Display-As-Entered is not defined:This table illustrates this precedence order for real properties with dimension unit, with
examples of different combinations of KeepFormat and
Display-As-Entered parameters. For each row, consider that the default
value defined on the platform for the attribute is 1 m.
| Platform Parameters | User Scenario | Comments | |||||||
|---|---|---|---|---|---|---|---|---|---|
Display-As-Entered |
KeepFormat |
Preferred Unit | Default Unit | 1 What users see in New... dialog boxes |
2 What users enter when creating the object |
3 What users see in the Properties tab |
4 What users enter when modifying the property |
5 What users see in the Properties tab after modification |
- |
| True | True | km | m | 1 m | 1.00 mm | 1.00 mm | 1.000 cm | 1.000 cm | Display-As-Entered has precedence over the preferred
unit.The format entered by the user is kept since |
| True | True | None | m | 1 m | 10.00 mm | 10.00 mm | 1.000 cm | 1.000 cm | Display-As-Entered has precedence over the preferred
unit.The format entered by the user is kept since |
| True | False | km | m | 1 m | 1.00 mm | 1 mm | 1.000 cm | 1 cm | Display-As-Entered has precedence over the preferred
unit.The format entered by the user is ignored since
|
| True | False | None | m | 1 m | 10.00 mm | 10 mm | 1.000 cm | 1 cm | Display-As-Entered has precedence over the preferred
unit.The format entered by the user is ignored since
|
| False | True | km | m | 0.001 km | 1.00 mm | 0.000001 km | 1.000 cm | 0.00001 km | Display-As-Entered is false, and the preferred unit has
precedence over the default unit.The value is converted to the preferred unit,
so |
| False | True | None | m | 1 m | 10.00 mm | 0.01 m | 1.000 cm | 0.01 m | Display-As-Entered is false, and there is no preferred unit,
so the default unit is used.The value is converted to the preferred unit, so
|
| False | True | km | m | 0.001 km | 01.010 km | 01.010 km | 00.5000 km | 00.5000 km | Display-As-Entered is false but the value entered by the
user is in the preferred unit. In that case, |
| False | True | None | m | 1 m | 10.00 m | 10 m | 10.00 m | 10 m | Display-As-Entered is false, but even if the user does not
change the unit, there is no preferred unit and the default unit is used. In
that case, |
| False | False | km | m | 0.001 km | 5000.00 m | 5 km | 20000.00 m | 20 km | Display-As-Entered is false, and the preferred unit has
precedence over the default unit.The format entered by the user is ignored
since |
| False | False | None | m | 1 m | 500.00 cm | 5 m | 5.00 km | 5000 m | Display-As-Entered is false, and there is no preferred unit,
so the default unit is used.The format entered by the user is ignored since
|
| Not Defined | True | km | m | 0.001 km | 1.00 mm | 0.000001 km | 1.000 cm | 0.0001 km | Display-As-Entered is not defined, but there is a preferred
unit. In that case, the values entered by the user are converted to this preferred
unit. The value is converted to the preferred unit, so
|
| Not Defined | True | None | m | 1 m | 10.00 mm | 10.00 mm | 1.000 cm | 1.000 cm | Display-As-Entered is not defined, but there is no preferred
unit. In that case, it is considered as true and the values are
kept in the unit entered by the user.The format entered by the user is kept
since |
| Not Defined | False | km | m | 0.001 km | 1000000.00 cm | 10 km | 2000000.0 cm | 20 km | Display-As-Entered is not defined, but there is a preferred
unit. In that case, the values entered by the user are converted to this preferred
unit. The format entered by the user is ignored since
|
| Not Defined | False | None | m | 1 m | 1000.00 cm | 1000 cm | 2000.0 cm | 2000 cm | Display-As-Entered is not defined, but there is no preferred
unit. In that case, it is considered as true and the values are
kept in the unit entered by the user.The format entered by the user is ignored
since |