Search Results for

    Show / Hide Table of Contents

    Method SetValue

    SetValue(ParameterId, SmartObject)

    Sets the value of the given parameter. The kind of SmartObject is fixed by the ParameterType: SmartInteger for integer parameter, SmartReal for real parameter, et caetera... Bound parameters must be set by the according functions.

    Declaration
    [OperationContract]
    [AvailableSinceVersion(7, 13, 0, 0)]
    bool SetValue(ParameterId inParameterId, SmartObject inValue)
    Parameters
    Type Name Description
    ParameterId inParameterId

    Parameter to fix.

    SmartObject inValue

    New value.

    Returns
    Type Description
    bool

    True if the value has been changed. False if the value have not changed.

    Remarks

    Warning : this function is only usable for Real, Int, Bool and Text parameters types. All other types are not available here.

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

    Copyright ©2025 TopSolid - All rights reserved.