Eplan Platform API
Eplan.EplApi.DataModel.MasterData Namespace / WindowMacro Class / Open Method / Open(String,Project) Method
Filename (inclusive path information and type) of the macro
the related project

In This Topic
    Open(String,Project) Method
    In This Topic
    Opens a macro file and reads the information. The first existing variant will be set as current variant
    Syntax
    public void Open( 
       string macroFileName,
       Project oProject
    )
    public:
    void Open( 
       String^ macroFileName,
       Project^ oProject
    ) 

    Parameters

    macroFileName
    Filename (inclusive path information and type) of the macro
    oProject
    the related project
    Exceptions
    ExceptionDescription
    Thrown when parameters are not valid. p.e. a wrong filename.
    See Also