API Help
EPLAN API / API Reference / Actions / generatemacros
In This Topic
    generatemacros
    In This Topic
    Action for generating macros from project.
    

    Parameter Description

    PROJECTNAME

    Project name with full path (optional).
    If not entered, the selected project is used when the action is called from GUI (like from a script or button bar). 
    If called from thewindows command line,PROJECTNAME must be set or the  must be used first, otherwise an  exception is thrown. 
    

    Remarks
       
    Project must have property "Type of project" set to "Macro project".                    
    

    Example
    Macros generation
    
    generatemacros /PROJECTNAME:C:\Projects\EPLAN\ESS_Sample_Project.elk