Eplan Platform API
Eplan.EplApi.DataModel Namespace / Project Class / AddOptionGroup Method / AddOptionGroup(String) Method
name of the option

In This Topic
    AddOptionGroup(String) Method
    In This Topic
    Adds OptionGroup to the Project. The description is set to an empty multilang value.
    Syntax
    public OptionGroup AddOptionGroup( 
       string strName
    )
    public:
    OptionGroup^ AddOptionGroup( 
       String^ strName
    ) 

    Parameters

    strName
    name of the option

    Return Value

    Returns added Option.
    Exceptions
    ExceptionDescription
    Thrown when strName is null.
    Thrown when strName is empty.
    Thrown when OptionGroup with strName already exists in Project.
    Remarks
    Option name must be unique for the Project.
    See Also