Search Results for

    Show / Hide Table of Contents

    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 null if none.

    SmartReal outAnswer

    User answer, or null if none.

    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.

    In this article
    Back to top
    • Term of use
    • Corporate information
    • Privacy Policy - GDPR

    Copyright ©2025 TopSolid - All rights reserved.