IBM Support

Calling dll plugins for from command prompt in IBM Rational Rhapsody

Question & Answer


Question

How to call a .dll plugin from command prompt ?

Answer

Plugins in general,be it a java plugin or a dll plugin, can be called from command line using:



    -cmd=call <pluginName>

For example :


    > rhapsody.exe -cmd=open MyModel\model.rpy -cmd=call MyPlugin

Unlike Java plugins,.dll plugin includes two methods that can be used.

  • RhpPluginInvokeItem() - for the tools menu.
  • doCommand() - for invoking plugin using "call" command.

If a .dll plugin needs to be called from command line,the doCommand() function should be implemented.

[{"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

swg21411451