How Can I Streamline the Start-up Process?

Overview

You can start EcoStruxure Machine Expert Twin with specific start-up options by using command-line arguments that you can enter from different locations:

  • By using the Windows command prompt:

    Enter cd C:\Program Files\Schneider Electric\EcoStruxure Machine Expert Twin to change to the installation directory and append one of the command-line arguments listed below to MachineExpertTwin.exe

  • By right-clicking the Machine Expert Twin icon on the desktop of your PC and running the Properties command. Select the Shortcut tab and append one of the command-line arguments listed below to the string in the Target field.

Command-Line Arguments

The following command-line arguments are available:

Command-line argument

Description

-help
-?

Opens a command prompt with a list of available command-line arguments.

-config

Displays the Select Catalog(s) dialog box during start-up.

-headless

Starts EcoStruxure Machine Expert Twin in headless mode and enables the webapi and graphicsserver.

-webapi [off|filepath]

Enables webapi and specify the webapi configuration file to use or disable it ([off]).

webapi is only accessible from localhost connections.

-graphicsserver [off]

Enables graphics server or disables graphics server [off].

-model <filepath>
-modelfile <filepath>

EcoStruxure Machine Expert Twin opens a project if the argument matches the name of an existing project.

-phy
-physics

Starts EcoStruxure Machine Expert Twin in physics mode without displaying the Select Catalog(s) dialog box during start-up.

—frictiontype <Patch|OneDirectional|TwoDirectional>

Starts the physical simulation with the selected friction type (only available in physics mode).

By default, EcoStruxure Machine Expert Twin uses the Patch mode.

—libs <directory>

Sets an additional library / catalog directory.

Example:

-libs C:\Projects\Demo\

Two prerequisites need to be fulfilled:

  • The directory exists.

  • The directory contains an EcoStruxure Machine Expert Twin catalog DLL file.

—debug [none|debug|detailed]

Enables the debug level. For further information on the debug levels, refer to Debug Section.

—autostart

Starts the physical simulation after the project is loaded.