IBM Support

Loading .dll plugins into IBM Rational Rhapsody project

Question & Answer


Question

How to load dll plugins into a Rhapsody project ?

Answer

Dll plugins can be loaded into the project in two ways :

  • From the rhapsody.ini file.

You can add plugin entries in the rhapsody.ini file in the below format :


    [Plugin]

    Plugins=<plugin item names>

    Name=<plugin name>

    RhpVersion=<Rhapsody version>

    DLL=<path to the plugin DLL>

    MenuItem=<plugin menu item name>


where :

<plugin item names>: A list of all plugins separated by comma (<plugin1 item name>[,<plugin2 item name>])

<plugin item name>: The plugin subject name in the INI file

<plugin name>: The plugin display name

<Rhapsody version>: The Rhapsody version that the plugin should work with.

<path to the plugin DLL>: A full path to the plugin DLL

<plugin menu item name>: Optional menu item name that is added in Rhapsody tools menu.

Example :


    [Plugin]

    Plugins=UserPlugin

    [UserPlugin]

    Name=MyPlugin

    RhpVersion=7.5

    DLL=C:\MyProject\debug\MyPlugin.dll

    MenuItem=Invoke MyPlugin


  • From the .hep file


You can define the helper entries in the .hep file and associate it with a project.

    [Helpers]

    numberOfElements=1

    name1=<PluginName>

    command1=<path to the plugin DLL>

    isVisible1=1

    isPlugin1=1


Example :


    [Helpers]

    numberOfElements=1

    name1=MyPlugin

    command1=.\MyProject\debug\MyPlugin.dll

    isVisible1=1

    isPlugin1=1



[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.5.0.1;7.5","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21411455