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

    strEMSFileName
    Full file name of the SymbolMacro file (.ems) to be placed.
    nVariant
    Index of the macro variant to be placed (0 based).
    oParent
    Object from EPLAN project to which top most objects from macro will be assigned.
    oMatrix
    Transformation by which objects from macro will be multiplied.
    nMoveCondition
    Determines if the macro will be placed with absolute coordinates or relatively to the parent
    nNumerationMode
    numeration mode

    Return Value

    Inserted placements
    Exceptions
    ExceptionDescription
    Thrown in case of invalid parameters..
    Null was set to a parameter.
    An error occurred during inserting the macro. Please refer to the error message.
    See Also