M2M Import by Command-line

Rhapsody provides command-line options, including for all Rhapsody Java Plugins like the M2M IE Engine.
  1. Here is the M2M Import command line:

    call_extended "M2M IE Engine" "-m2mMode M2MImporter -filePath 'D:/export.arxml' -ruleset 'Arxml2SysML' -traceability true"

    The maximum number of characters of a Rhapsody command-line is 256 including the first part "call_extended "M2M IE Engine". Everything after the 256th characters is not transmitted to the M2M IE Engine.

    All arguments are optional, and if there is no ruleset argument, the engine will take the first M2MImportRuleset it found in the model:
  2. Rhapsody commands in a script file