Eplan Platform API
EPLAN API / User Guide / API Framework / Using EPLAN in other applications
In This Topic
    Using EPLAN in other applications
    In This Topic

    This topic describes different means to use EPLAN functions outside a script or EPLAN add-in. 


    Basically, there are three options to use EPLAN functionality in other applications: 


    1. Calling EPLAN with command line parameters
    2. Using parts of EPLAN (modules/dlls) in other processes. Only the functionality of EPLAN is used no main frame an - with some exceptions - no dialogs of EPLAN will be shown.
    3. Eplan runs as a separate process and functions, objects in this process are called by another process. (ActiveX automation, out-of-process server, EXE server) In this case EPLAN can be visible or invisible.


    If you want to use the EPLAN API together with office applications (e.g. Excel), you should consider the following order of choice when planning your code architecture: 


    1. Create an EPLAN add-in and use the other application as managed code via COM interop.
    2. Use Visual Studio Tools for Office (VSTO) together with managed EPLAN API Assemblies. (EPLAN is in-process server or remoting client).