Eplan Platform API
Eplan.EplApi.HEServices Namespace / Masterdata Class / PrepareMacros Method / PrepareMacros(Project,Boolean,Boolean,Boolean) Method
Project for which preparation should be performed. It has to be a macro project.
Group macro boxes with their contents.
Group contents of a page macro.
Activates handle for macro box. By this unwanted shifting of macro is prevented.

In This Topic
    PrepareMacros(Project,Boolean,Boolean,Boolean) Method
    In This Topic
    Prepares and groups all elements belonging to a macro box or page macro.
    Syntax

    Parameters

    oProject
    Project for which preparation should be performed. It has to be a macro project.
    bGroupMacroBoxes
    Group macro boxes with their contents.
    bGroupPageMacros
    Group contents of a page macro.
    bSetHandleOnMacroBoxes
    Activates handle for macro box. By this unwanted shifting of macro is prevented.
    Exceptions
    ExceptionDescription
    Project was set to a null reference.
    Project is invalid.
    Internal interface for master data could not be created.
    Macros cannot be prepared.
    See Also