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

Open(String,Project,Int32) Method
Opens a macro file and reads the information. The first existing representation type will be set as current representation type
Syntax

Parameters

macroFileName
Filename (including path information and type) of the macro
oProject
the related project. If null then current parts database is used.
nVariant
Exceptions
ExceptionDescription
Thrown when parameters are not valid. p.e. a wrong filename or wrong variant.
Thrown when representation type or variant not found
See Also