Configuring the Publisher

In the publisher.ini file, available under %INSTALL_PATH%\Publisher4Rhapsody\%PUB_VERSION%\publisher.ini, the main options are: Please refer to Installation Recommendations for Performance for more details.
These options are configured during installation and set in the file publisher.ini.

Other transformation options can be modified in the publisher.properties file, located in C:\ProgramData\Publisher4Rhapsody\%PUB_VERSION% folder.
To configure the publisher transformation, open the publisher.properties file. By default, here are the options available:

# Determines whether Elements Name should be replaced by label values. Available values: ElementName, LabelValue - default: ElementName
rhp2md.semantic.elementName=ElementName
# Determines whether Colors are transformed from Rhapsody. Available values: RhpColors, MDColors - default: RhpColors
rhp2md.graphical.element.colors=MDColors
# Determines whether the Rhapsody profiles must be un-applied. Available values: true, false - default: false
rhp2md.semantic.unapplyRhapsodyProfile=false
# Determines the way Item Flows are transformed. Available values: Signal, InformationItem, Class, ... - default: Signal
rhp2md.semantic.item_flows=Signal
# Determines whether Properties in Object Model Diagrams are transformed to Instance Specifications. Available values: true, false - default: false
rhp2md.graphical.object_diagram.instance_specification=false
# Determines whether Metrics are generated from Rhapsody. Available values: true, false - default: false
rhp2md.metrics=false
# Determines whether Flow Port visibility is forced to public. Available values: true, false - default: false
rhp2md.semantic.flow_ports.visibility.public=false
# Determines the MagicDraw profiles version that has to be loaded. Available values: 19.0, 2021x, 2022x or 2024x - default 2024x
magicdraw.profile.version=2024x
# Determines whether 'Rhapsody Application NG' or 'Rhapsody On-Demand' is used to read Rhapsody data. Available values: Rhapsody Application NG, Rhapsody On-Demand - default: Rhapsody Application NG
rhp2md.rhapsody.accessor=Rhapsody Application NG
# Determines whether the DoDAF2 Stereotypes will be converted to SysML. Available values: true, false - default: true
rhp2md.semantic.updm2sysml=true
# Determines whether the <<NewTerm>> elements will be grouped in Smart Packages. Available values: true, false - default: false
rhp2md.semantic.newTerm.smartPackage=false
# Determines whether logs from the Rhapsody Publisher plugin and xmi intermediate file should be generated or not. Available values: true, false - default: false
rhp2md.log=false
# Determines the minimum level of logs printed in log file. Available values: debug, info, warning, error - default: info
rhp2md.log.level=info
# Determines whether ContainmentLinks are displayed in Diagrams. Default: true
md2rhp.graphical.containmentLinks=true
# Determines whether an obfuscated intermediate representation of the model should be saved. Default: false
publisher.obfuscated.xmi=false
# Determines whether Rhapsody is restarted at the end of the publication. Default: true
md2rhp.rhapsody.restart=true
# Determines the Stereotypes, inherited from <<InvisibleStereotype>> that are transformed in Rhapsody. Available values: Stereotypes names inherited from <<InvisibleStereotype>>. Default value: “IdentifiableElement”. Use “,” as separator for multiple values.
md2rhp.mdCustomProfile.transformedInvisibleStereotypes=IdentifiableElement
# Determines whether the publication can be run independently of the diagnostic result. Default: false
publisher.force.publication=false
# Determines whether image diagram previews will be generated in Rhapsody. Default: true
md2rhp.graphical.diagramPreview=true
# Determines path to MagicDraw used project directory. In case of several paths to use, they must be separated by a comma. Default: empty string
md2rhp.magicdraw.usedProjects.dir=
# Determines whether OSLC Links must be published from Rhapsody. Default: false
rhp2md.publish.oslc.links=false
# Determines whether diagram previews in Diagram are disabled. Default: true
rhp2md.disable.diagram.preview=true
# Determines whether Extra Empty Activity Diagram must be removed. Default: true
rhp2md.remove.extra.activityDiagram=true
# Determines the path to the prune configuration file. Default: empty string
md2rhp.magicdraw.prune.setup.path=
# Determines the font size offset to apply in order to keep the same font size look and feel. Set the value to 0 to not apply an offset. Default: 3
publisher.font.size.offset=3
# Determines the minimum size of font when publishing in Rhapsody. Leave empty to avoid setting a minimum value. Default: 8
md2rhp.font.size.minimum=8
# Determines the minimum size of font when publishing in MagicDraw. Leave empty to avoid setting a minimum value. Default: 11
rhp2md.font.size.minimum=11