API Help
Eplan.EplApi.HEServices Namespace / Masterdata Class / GenerateMacrosFrom3DData Method
Project from which data to macro will be taken.
List of full paths to step files from which macros will be created.

In This Topic
    GenerateMacrosFrom3DData Method
    In This Topic
    Generates 3d macros from step files.
    Syntax
    public bool GenerateMacrosFrom3DData( 
       Project oProject,
       StringCollection oFileNames
    )
    public:
    bool GenerateMacrosFrom3DData( 
       Project^ oProject,
       StringCollection^ oFileNames
    ) 

    Parameters

    oProject
    Project from which data to macro will be taken.
    oFileNames
    List of full paths to step files from which macros will be created.

    Return Value

    True if generation of all macros is successful, or false if something went wrong.
    Exceptions
    ExceptionDescription
    If any parameter is null.
    If any parameter is invalid.
    Internal interface for master data could not be created. Please check if ProPanel addon is installed and current license gives rights to use it.
    Remarks

    This functionality is available only when ProPanel addon is installed and current license gives rights to use this addon.

    Macros are generated to $(MD_MACROS) directory. Every created file has the same name as step file with exension .ema. If in output directory exists file with the same name as generated file then the old file is overwritten.

    See Also