API Help
Eplan.EplApi.DataModel.MasterData Namespace / WindowMacro Class / Create Method / Create(String,RepresentationType,Int32,Placement[],MultiLangString,PointD) 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,RepresentationType,Int32,Placement[],MultiLangString,PointD) 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).
    nRepresentationType
    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.
    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