Callback: String property.Value2String(IUserObject entity, ISimProperty property, Object value)

Callback that is invoked to convert the value stored by the property into a string.

Parameters

  • entity
    The entity containing the property.
  • property
    The property.
  • value
    Type: Object
    The property value.

Return Value

Type: String
The String value.

Remarks

When Used in Mechanical: This callback is used to display the property's value in the Details view. Mechanical will adjust the display of numeric values to the preference-specified precision. When the property type is "float", the string must be either 1) a value, or 2) a value and a unit separated by a space.