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

In This Topic
    Create(String,Int32,Placement[],MultiLangString) 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.
    strDescription
    The description for this macro file or null when no description should be set.
    Exceptions
    ExceptionDescription
    Thrown when parameters are not valid
    See Also