Eplan Platform API
Eplan.EplApi.DataModel.Planning Namespace / PlanningSegment Class / PlaceMacroAt Method
Page to insert the macro on.
Insertion point of the macro.
Path to the macro file
Representation type that should be used from the macro.
Determins how devices located on the page will be renumbered
Variant that should be taken from the macro

In This Topic
    PlaceMacroAt Method
    In This Topic
    Places a macro on a given page.
    Syntax

    Parameters

    Parameter NameDescription
    oPagePage to insert the macro on.
    oPlacementInsertion point of the macro.
    strMacroFileNamePath to the macro file
    nRepTypeRepresentation type that should be used from the macro.
    nNumerationModeDetermins how devices located on the page will be renumbered
    nVariantVariant that should be taken from the macro

    Return Value

    Array of inserted StorableObject + source object.
    Remarks
    Method corresponds to the context menu point "Place->Macro selection"
    See Also