Eplan Platform API
Eplan.EplApi.DataModel Namespace / ProjectSettings Class / SetNumericSetting Method
Path to the project setting
Value to be set
0-based index of the setting

In This Topic
    SetNumericSetting Method (ProjectSettings)
    In This Topic
    Sets the value of a project setting in a specified path. The type of value will be converted to 16 bit, 32 bit, signed or unsigned value depending on the setting type.
    Syntax
    public virtual void SetNumericSetting( 
       string strSettingPath,
       int nValue,
       int nIdx
    )
    public:
    virtual void SetNumericSetting( 
       String^ strSettingPath,
       int nValue,
       int nIdx
    ) 

    Parameters

    strSettingPath
    Path to the project setting
    nValue
    Value to be set
    nIdx
    0-based index of the setting
    Exceptions
    ExceptionDescription
    Thrown if the strSettingsPath parameter is NULL.
    Thrown if the value cannot be set.
    See Also