API Help
Eplan.EplApi.DataModel.MasterData Namespace / PageMacro Class / Create Method
The name (inclusive path) for the macro file. Parameter value must include valid extension (otherwise an exception is thrown).
The pages the macro should contain
The description for this macro file or null when no description should be set.

Create Method (PageMacro)
Writes a macro file from the pages and then if there was at least one valid page, opens created macro.
Syntax

Parameters

macroFileName
The name (inclusive path) for the macro file. Parameter value must include valid extension (otherwise an exception is thrown).
pPages
The pages the macro should contain
strDescription
The description for this macro file or null when no description should be set.
Exceptions
ExceptionDescription
Thrown when parameters are not valid
Remarks
All pages have to be from this same project.
See Also