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.

Open(String,Project) Method
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
)

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