Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Create New Project

Actions

  1. Open MagicDraw

  2. File > New Project

  3. Select “SysML Project” under the "Systems Engineering" section in the left side of the window

  4. Name the Project

  5. Choose project save location

  6. Select "OK"

  7. See message about System Engineering perspective - choose either

    • Perspectives switch the application to the graphical user interface designed for a specific role (such as systems engineer or analyst). Perspective options as well as details about the perspectives may be found by going to the top ribbon Options > Perspectives

Import MDK Module to Project

Actions

  1. Go to Options>>Project Usages

  2. Select "Use Project"

  3. Select "From predefined location"

  4. Select "<install.root> /profiles" under paths to used projects

  5. Select “SysML Extensions.mdxml” from the list of projects

  6. Select "Finish"

  7. See message about showing Auxiliary Resources - choose either

    • Showing Auxiliary resources allows project usages to be seen in the containment tree

  8. Click "OK"

Assign Project to MMS Server

Actions

You need to do both actions below.

5.1.x Configuration via Project Options

This is the new (preferred) way to configure MDK models. This not only allows you to configure your model without the use of the stereotype/tag, it also allows the configuration of the “Open in View Editor” menu option when right-clicking on a view.

Note
Projects previously configured with the <modelmanagementsystem> stereotype will have their settings automatically migrated to Project Options.

  1. Click “Options” in the menu bar at the top and select “Project” to open the Project Options Dialog.

  2. In the dialog box that pops up select “General>MBEE” (For TWC projects you may need to lock them)

  3. To enable MMS and View Editor integration you must first set Enable MBEE Integration to true

  4. Next enter the URL’s for MMS and VE in their respective fields (see image above).

Warning

You must specify any path (i.e. anything after the .extension or :port) via the base path property for the specific service or it will be ignored.

Finally, click Okay to save your selections.

Warning
If you haven’t already mounted SysML Extensions to your project. MDK will throw a warning and disable MBEE Integration. Add the profile and then re-enable in Project Options

pre 5.1.0 Configuration via Stereotype Tag

  1. Open “Model” package specification (double click package or  right click package > specification)

  2. Scroll down to MMS section

  3. Enter server name as MMS URL (e.g. https://mms.hostname.com),

  4. Select "Close"

Initialize Project

Add Project to MMS

  1. Login to MMS: Select "MMS" tab from top ribbon > Login > enter username and password > ok

  2. Right click “Model” > MMS > Validate Models

  3. Wait for validation window to see error

  4. Right Click error in Validation window > Commit Project and Model. Note: Error will remain visible until validation window is closed

  5. Wait for "Choose MMS Org" dialog to pop up > Select desired Org > ok 

    • New Org may be created by selecting the "New..." option from the bottom of the list and following the prompts

  6. Again, Right click "Model" > MMS > Validate Models 

  7. Wait for validation window to see "holding bin missing in client" error

  8. Right click error > update element from MMS (holding bin should now be present in the containment tree)

  9. Save project locally by File > Save Project

  • No labels