Use the batch command EGLCMD to invoke the interface when the workbench is not running. The generation of EGL code can access only projects and EGL parts that were previously loaded into a workspace. For more information, see “EGLCMD.”
installationDir\sdp70\plugins
Please note that the directory is not the shared one.
installationDir\sdp70shared\plugins
/MyProject/MyCommands/Command1.xml
Aside from using EGLCMD, you might invoke an Ant script to clean a workspace and cause an automatic build and generation. For further details, see "Generating with an Ant Script."