Eplan Platform API
Eplan.EplApi.DataModel.MasterData Namespace / WindowMacro Class / Create Method / Create(String,Int32,Placement3D[],Boolean,MultiLangString,PointD3D) Method
The name (including 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

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