API Help
Eplan.EplApi.DataModel Namespace / ProjectSettings Class / SetNumericSetting Method
path to settings
value to set.
0-based index of the setting

In This Topic
    SetNumericSetting Method (ProjectSettings)
    In This Topic
    Sets the value of project settings on a given path. Type of value will be converted to 16 bit, 32 bit, signed or unsigned value depending on 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 settings
    nValue
    value to set.
    nIdx
    0-based index of the setting

    Return Value

    Exceptions
    ExceptionDescription
    Thrown when strSettingsPath is null.
    Thrown when the value cannot be set.
    See Also