API Help
Eplan.EplApi.DataModel Namespace / ProjectSettings Class / AddNumericSetting Method / AddNumericSetting(String,Int32[],Range[],CreationFlag) Method
Indicates the path of the setting.
Array of values added to the setting
Array of Eplan.EplApi.Base.Range. Used for value validation.
Eplan.EplApi.Base.ISettings.CreationFlag

In This Topic
    AddNumericSetting(String,Int32[],Range[],CreationFlag) Method
    In This Topic
    Defines a new setting for a numeric value.
    Syntax

    Parameters

    strSettingPath
    Indicates the path of the setting.
    arrValues
    Array of values added to the setting
    arrRange
    Array of Eplan.EplApi.Base.Range. Used for value validation.
    eFlag
    Eplan.EplApi.Base.ISettings.CreationFlag
    Exceptions
    ExceptionDescription
    Thrown when strSettingPath is null.
    Thrown when strSettingPath is empty.
    Thrown when setting cannot be added.
    Remarks
    Default definition settings are provided for settings that use default values such as FALSE, TRUE, 0, or spaces and that do not require ranges of values.
    See Also