Eplan Platform API
Eplan.EplApi.DataModel.MasterData Namespace / WindowMacro Class / Open Method / Open(String,Project) Method
Filename (including path information and type) of the macro
The related project. If null then current parts database is used.

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 (including path information and type) of the macro
    oProject
    The related project. If null then current parts database is used.
    Exceptions
    ExceptionDescription
    Thrown when parameters are not valid. p.e. a wrong filename.
    See Also