Eplan Platform API
Eplan.EplApi.DataModel.MasterData Namespace / PrePlanningMacro Class / Create Method
Collection of segments. Can't be null.
Filename (inclusive path information and type) of the macro. Can't be null.
Description of macro. If null then description is empty.

In This Topic
    Create Method (PrePlanningMacro)
    In This Topic
    Creates file and writes a pre-planning macro from planning segments and their sub objects.
    Syntax

    Parameters

    colSegments
    Collection of segments. Can't be null.
    strMacroFileName
    Filename (inclusive path information and type) of the macro. Can't be null.
    pDescription
    Description of macro. If null then description is empty.
    Exceptions
    ExceptionDescription
    Thrown when parameters are not valid.
    Thrown when internal error occured while creating macro.
    Thrown when macro has not been created.
    See Also