The following section describes how to set up a Context SysML index using MagicDraw 17.0 SP4.
Ensure the MagicDraw environment is set up for working on PLCSlib.
plcslib\etc\MagicDraw
has been copied to the data folder for
your MagicDraw installation.
plcslib\data
. If not follow the procedure:
The MagicDraw Environment settings should be as shown in Figure 1.
The following stages should be followed in order to use MagicDraw to create a SysML index for the Context:
plcslib\data\contexts\<<Context>>\dvlp\
New Element -> Package
. New Element -> Package
. "DEXs"
.
New Element -> Package
. "Templates"
.
File->Use Module
, selecting "From file system"
and
browsing to plcslib\data\PLCS\psm_model\dvlp\plcs_psm_module.mdxml
.Module Accessibility
" as "Read-only
".File->Use Module
, selecting "From file system" and
browsing to plcslib\data\contexts\dvlp\PLCS-profile.mdxml
. Options->Project
,
selecting "Symbols properties styles".
Select "Import"
browsing to plcslib\data\contexts\dvlp\OASIS PLCS style.stl
. Once the above has been completed the containment tab of MagicDraw should look as shown in Figure 2