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

AddOptionGroup(String) Method
Adds OptionGroup to the Project. The description is set to an empty multilang value.
Syntax
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