Eplan Platform API
Eplan.EplApi.HEServices Namespace / Insert3D Class / SymbolMacro Method
Full file name of the SymbolMacro file (.ems) to be placed.
Index of the macro variant to be placed (0 based).
Object from Eplan project to which top most objects from macro will be assigned.
Transformation by which objects from macro will be multiplied.
Determines if the macro will be placed with absolute coordinates or relatively to the parent
numeration mode

In This Topic
    SymbolMacro Method (Insert3D)
    In This Topic
    Places objects from symbol macro into layout space.
    Syntax

    Parameters

    Parameter NameDescription
    strEMSFileNameFull file name of the SymbolMacro file (.ems) to be placed.
    nVariantIndex of the macro variant to be placed (0 based).
    oParentObject from Eplan project to which top most objects from macro will be assigned.
    oMatrixTransformation by which objects from macro will be multiplied.
    nMoveConditionDetermines if the macro will be placed with absolute coordinates or relatively to the parent
    nNumerationModenumeration mode

    Return Value

    Inserted placements
    Exceptions
    ExceptionDescription
    Thrown in case of invalid parameters.
    Thown if NULL was set to a parameter.
    Thrown if an error occurred during the macro insertion process. Please refer to the error message.
    See Also