API Help
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

    oPage
    Page to insert the macro on.
    oPlacement
    Insertion point of the macro.
    strMacroFileName
    Path to the macro file
    nRepType
    Representation type that should be used from the macro.
    nNumerationMode
    Determins how devices located on the page will be renumbered
    nVariant
    Variant 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