Colors Transformation

The Publisher provides two options for color schema.

Preserve Original Rhapsody Colors and Style

When the user selects to Preserve Original Rhapsody Colors and Style, The following settings are preserved for diagrams from Rhapsody.

The constraints are as follows:

Use Standard MagicDraw Colors and Style

When the user selects to Use Standard MagicDraw Colors and Style, colors and styles are not transformed from Rhapsody.
MagicDraw default colors are styles will be applied.

Silent Mode Implementation

To transform Colors and Styles from Rhapsody, 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=RhpColors
# 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 keep MagicDraw Default Colors and Styles, 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