MDK User's Guide: 1 Initialization
Create New Project
Actions
Open MagicDraw
File > New Project
Select “SysML Project” under the "Systems Engineering" section in the left side of the window
Name the Project
Choose project save location
Select "OK"
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
Go to Options>>Project Usages
Select "Use Project"
Select "From predefined location"
Select "<install.root> /profiles" under paths to used projects
Select “SysML Extensions.mdxml” from the list of projects
Select "Finish"
See message about showing Auxiliary Resources - choose either
Showing Auxiliary resources allows project usages to be seen in the containment tree
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.
Click “Options” in the menu bar at the top and select “Project” to open the Project Options Dialog.
In the dialog box that pops up select “General>MBEE” (For TWC projects you may need to lock them)
To enable MMS and View Editor integration you must first set
Enable MBEE Integration
to trueNext 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
Initialize Project
Add Project to MMS
Login to MMS: Select "MMS" tab from top ribbon > Login > enter username and password > ok
Right click “Model” > MMS > Validate Models
Wait for validation window to see error
Right Click error in Validation window > Commit Project and Model. Note: Error will remain visible until validation window is closed
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
Again, Right click "Model" > MMS > Validate Models
Wait for validation window to see "holding bin missing in client" error
Right click error > update element from MMS (holding bin should now be present in the containment tree)
Save project locally by File > Save Project