DoDAF2 to SysML Transformation

From Publisher for Rhapsody 2.5.0, transformation from Rhapsody UPDM2-DoDAF to Cameo SysML is possible.
To control this, an option rhp2md.semantic.updm2sysml has been created.

Transformation to Cameo SysML

By default, the option rhp2md.semantic.updm2sysml is set to true, this means when transforming a DoDAF2 model, SysML profiles and associated Stereotypes will be applied to the model.<
Most of the UPDM2-DoDAF Diagrams will become Cameo Class Diagrams. However a dedicated mapping has been applied for some type of Diagrams:

Rhapsody UPDM2-DoDAF Cameo SysML
OV-5b Operational Activity Model SysML Activity Diagram
OV-6c Event Trace Description SysML Sequence Diagram
SvcV-4 Services Functionality Description SysML Activity Diagram
SvcV-10c Services Event Trace Description SysML Sequence Diagram
SV-1 Systems Interface Description SysML Internal Block Diagram
Properties Stereotyped <<ResourceRole>> in the Rhapsody diagram will be stereotyped <<PartProperty>> in Cameo.
SV-1 Systems Interface Description BDD SysML Block Definition Diagram
Classes Stereotyped <<System>>, <<Software>>, <<PhysicalArchitecture>> or <<PersonType>> in the Rhapsody diagram will be stereotyped <<Block>> in Cameo.
SV-2 Systems Resource Flow Description SysML Internal Block Diagram
Properties Stereotyped <<ResourceRole>> in the Rhapsody diagram will be stereotyped <<PartProperty>> in Cameo.
SV-2 Systems Resource Flow Description BDD SysML Block Definition Diagram
Classes Stereotyped: <<System>>, <<Software>>, <<PhysicalArchitecture>> or <<PersonType>> in Rhapsody will be stereotyped <<Block>> in Cameo.
SV-4 Systems Functionality Description SysML Activity Diagram
SV-10c Systems Event Trace Description SysML Sequence Diagram

UPDM2 Stereotypes are kept in the MagicDraw Model. A stereotype <<UPDM2Element>> is applied on every transformed UPDM2 Element.
A Tagged Value "updm2stereotype" is added with the original UPDM2 Stereotype.

Transformation to Cameo SysML

By setting the option rhp2md.semantic.updm2sysml to false in the publisher.properties, Cameo UPDM2 profile and associated Stereotypes will be applied.

Silent Mode Implementation

To transform Rhapsody UPDM2-DoDAF Model to Cameo SysML, set to following option in publisher.properties file:

# Determines whether Elements Name should be replaced by label values
rhp2md.semantic.elementName=ElementName
# Determines whether Colors are transformed from Rhapsody
rhp2md.graphical.element.colors=MDColors
# Determines whether the Rhapsody profiles must be un-applied
rhp2md.semantic.unapplyRhapsodyProfile=false
# Determines the way Item Flows are transformed
rhp2md.semantic.item_flows=Signal
# Determines whether Properties in Object Model Diagrams are transformed to Instance Specifications
rhp2md.graphical.object_diagram.instance_specification=false
# Determines whether Metrics are generated from Rhapsody
rhp2md.metrics=false
# Determines whether Flow Port visibility is forced to public
rhp2md.semantic.flow_ports.visibility.public=false
# Determines the MagicDraw profiles version that has to be loaded
magicdraw.profile.version=19.0
#Determines whether 'Rhapsody Application NG' or 'Rhapsody On-Demand' is used to read Rhapsody data
rhp2md.rhapsody.accessor=Rhapsody Application NG
#Determines whether the DoDAF2 Stereotypes will be converted to SysML
rhp2md.semantic.updm2sysml=true

To transform Rhapsody UPDM2-DoDAF Model to Cameo UPDM2, set to following option in publisher.properties file:

# Determines whether Elements Name should be replaced by label values
rhp2md.semantic.elementName=ElementName
# Determines whether Colors are transformed from Rhapsody
rhp2md.graphical.element.colors=MDColors
# Determines whether the Rhapsody profiles must be un-applied
rhp2md.semantic.unapplyRhapsodyProfile=false
# Determines the way Item Flows are transformed
rhp2md.semantic.item_flows=Signal
# Determines whether Properties in Object Model Diagrams are transformed to Instance Specifications
rhp2md.graphical.object_diagram.instance_specification=false
# Determines whether Metrics are generated from Rhapsody
rhp2md.metrics=false
# Determines whether Flow Port visibility is forced to public
rhp2md.semantic.flow_ports.visibility.public=false
# Determines the MagicDraw profiles version that has to be loaded
magicdraw.profile.version=19.0
#Determines whether 'Rhapsody Application NG' or 'Rhapsody On-Demand' is used to read Rhapsody data
rhp2md.rhapsody.accessor=Rhapsody Application NG
#Determines whether the DoDAF2 Stereotypes will be converted to SysML
rhp2md.semantic.updm2sysml=false