Eplan Platform API
Eplan.EplApi.DataModel.MasterData Namespace / WindowMacro Class / Open Method / Open(String,Project,Int32,Boolean) Method
Filename (inclusive path information and type) of the macro
the related project
Says if object should be created from cache

Open(String,Project,Int32,Boolean) 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 (inclusive path information and type) of the macro
oProject
the related project
nVariant
bFromCache
Says if object should be created from cache
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