API Help
Eplan.EplApi.DataModel.MasterData Namespace / WindowMacro Class / Create Method / Create(String,Int32,Placement3D[],Boolean,MultiLangString,PointD3D) Method
The name (inclusive path) for the macro file. Parameter value must include a valid extension (otherwise an exception is thrown).
The variant written (A file can contain more than one variants)
The placements the macro should contain. They should be from the same page.
The description for this macro file or null when no description should be set.
The reference point of the macro

In This Topic
    Create(String,Int32,Placement3D[],Boolean,MultiLangString,PointD3D) Method
    In This Topic
    Writes a window macro file from the pPlacements If at least one given Placement object is valid, created macro is opened.
    Syntax

    Parameters

    macroFileName
    The name (inclusive path) for the macro file. Parameter value must include a valid extension (otherwise an exception is thrown).
    nVariant
    The variant written (A file can contain more than one variants)
    pPlacements
    The placements the macro should contain. They should be from the same page.
    bAddChildren
    strDescription
    The description for this macro file or null when no description should be set.
    oReferencePoint
    The reference point of the macro
    Exceptions
    ExceptionDescription
    Thrown when parameters are not valid
    See Also