Method AskReal
AskReal(UserQuestion, UnitType, double, double, SmartReal, out SmartReal)
Asks the user for a real value.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 7, 0, 0)]
UserAnswerType AskReal(UserQuestion inQuestion, UnitType inUnitType, double inMinValue, double inMaxValue, SmartReal inSuggestion, out SmartReal outAnswer)
Parameters
| Type | Name | Description |
|---|---|---|
| UserQuestion | inQuestion | Question asked to the user. |
| UnitType | inUnitType | Unit type of the real value. |
| double | inMinValue | Minimum value, in SI unit. |
| double | inMaxValue | Maximum value, in SI unit. |
| SmartReal | inSuggestion | Suggested answer, or |
| SmartReal | outAnswer | User answer, or |
Returns
| Type | Description |
|---|---|
| UserAnswerType | Type of user answer. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) may be called before calling this method to allow the user to create or modify entities during the interaction.
This method is available since v7.7.