Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Status
colourGreen
titleAvailable from 19.0 SP1

Note
titleNote

In these scenarios, all related items on this page to be used are in the TestSimulationCommandLine.zip sample.

...

Type of argument

Parameter

Description

Mandatory argument

-project

Specify a file name with the path of a MagicDraw project. Both relative and absolute paths are supported.

-config

Specify a SimulationConfig without a qualified name to run.

Note
titleNote

If SimulationConfig has duplicate names (in different package), a warning message will be displayed in the Simulation log, and the first name will be used.



-properties propertiesFileName

Specify the name of a properties file to use, e.g., in the TestSimulationCommandLine.zip sample.

Note
titleNote
  • If the -properties option is specified, the argument is the name of a properties file, and the mandatory argument is no longer required.
  • A properties file contains -project and -config, along with the specified data of each parameter.


Optional (server) argument







-servertype

Specify type of the server to connect, <tw> or <twcloud>, where <tw> is Teamwork Server, as the default type of the server, and <twcloud> is Teamwork Cloud.

-serverSpecify a name or an IP Address (and port) of the server.
-login

Specify a login name to log on to the server.

-password

Specify a password to log on to the server.

-ssl

Specify to use and enable Secured Connection (SSL), <true> or <false> as the default value.

-pversion

Specify the version of the server project.

-tag

Specify the tag name of the server project. 

Note
titleNote
  • -tag can't be used with -pversion.
  • If multiple projects are returned, only the latest version will be run.


Teamwork Cloud argument



-branch

Specify a branch of Teamwork Cloud projects. 

Note
titleNote
  • -branch and -pversion cannot be specified in the same command.
  • If -pversion and -tag are not specified, the latest version of the specified branch will be returned.


-updatemoduleSpecify update project usages if required, <true> or <false>, where <false> is the default.
-projectpassword

Specify a project password.

...