API Help
EPLAN API / API Reference / Actions / ProjectAction
In This Topic
    In This Topic
     run action upon given project and close project afterwards

    Parameter Description
    Project name with full path
    used action, action parameter following.
    if "1" used project will not be closed afterwards (Optional). On default project will be closed afterwards.
    Specifies the mode to open the project. Optional. May have the following values: 'Standard', 'ReadOnly', 'Exclusive'.
    When status is set to true, value passed in Action parameter won't start in quiet mode.

    Without parameter "Project" last opend project will be used.
     * When the OpenMode is specified, the project is opened in this mode or not opened at all, then an error is reported.
     * When the OpenMode is NOT specified, the system tries to open the project in standard mode (readable and writable).
     When the project needs an upgrade, it is opened in read only mode (or not opened at all, then an error is reported).
     The actual open mode is added to the calling context with the parameter "OpenMode".

            ProjectAction /PROJECTNAME:C:\Projects\ESS_Sample_Project.elk /Action:export /TYPE:PDFPROJECT /EXPORTFILE:C:\pdf\export.pdf