Command line usage
You can run CADMATIC eGo from a command prompt window or a batch file. You can use this, for example, to schedule a Windows task that automatically synchronizes project data with eShare at a time when eGo is normally connected to eShare and you are not using it.
Running CADMATIC eGo from command line
You can run eGo from the command line.
Do the following:
-
Open a command-prompt window as a user (not as an administrator), and navigate to the folder where eGo.exe is located.
-
Run eGo.exe with the required parameter. There is a short version and a long version of each supported parameter—you might want to use the long one if putting the commands into a batch file, to enhance readability.
Parameter (option 1)
Parameter (option 2)
Description
-m
--model
Opens the specified model file in eGo and leaves eGo open. This does not add the model to the eGo model folder; if you open the eGo front page, the model is not listed and thus you cannot return to the 3D view.
Syntax:
ego.exe -m <model>
where <model> is the path to the model file (.ebm) to be opened.
Example:
ego.exe --model "C:\Temp\My First Model.ebm"
-s
--synchronize
Opens eGo, synchronizes the data of the specified project with the eShare server from which the project was downloaded, and then closes eGo again.
Syntax:
ego.exe -s <project>
where <project> is either the project GUID (same as in eShare) or the project name. The name is not case sensitive; if the name contains spaces, put quotation marks around it.
Example:
ego.exe --synchronize "my first project"
-d
--description
Opens eGo and sets the title of the eGo window to the specified value. If you have multiple eGo applications open at the same time, naming them makes it easier to switch from one application instance to another.
Syntax:
ego.exe -d <title>
where <title> is the window title to use. If the title contains spaces, put quotation marks around it.
Example:
ego.exe --description "App 1"
-h
--help
Displays the command-line help.
Syntax:
ego.exe -h