Eplan Platform API
Eplan.EplApi.DataModel Namespace / ProjectSchemeSetting Class / Init Method / Init(String,Project) Method
Path to the project settings node, for example CableLog.CableAutoSelectionScheme
Project with scheme.
Example

In This Topic
    Init(String,Project) Method
    In This Topic
    Initializes object with a project settings node path.
    Syntax
    public virtual void Init( 
       string strScheme,
       Project oProj
    )
    public:
    virtual void Init( 
       String^ strScheme,
       Project^ oProj
    ) 

    Parameters

    strScheme
    Path to the project settings node, for example CableLog.CableAutoSelectionScheme
    oProj
    Project with scheme.
    Exceptions
    ExceptionDescription
    Thrown when scheme with given path is not one of given project schemes
    Example
    Creating a ProjectSchemeSetting object and initializing it with a scheme path
    ProjectSchemeSetting oProjectSchemeSetting = new ProjectSchemeSetting();
    oProjectSchemeSetting.Init("CableLog.CableAutoSelectionScheme", m_oTestProject);
    
    
    See Also