Introduction
Yes. Sorry. But I do hate it. Noisy, Energy wasting, overpriced. I know there are few places in the world where you can organize big congresses like IBM Think, etc.
But really? Does it have to be in a place that forces you to walk through a flipping casino to get to where you have your congress?
Do you know how much energy that costs for a poor guy with Asperger’s? Thank god for Apple Airpods with noise canceling, Shades, and a Cap that prevents the lights from overflowing.
And then the prices. Not a single bottle of red wine under $100,-? Seriously?
But OK. We were there for the IBM TechXChange. I had a slot of an hour together with Ed Mayer from IBM. This went very well ( Though I would have liked more customers… )
How to start Rhapsody?
There are multiple ways to start Rhapsody.
Open a Model
Just double-click on a Rhapsody File, a .rpyx (Or an old .rpy file). But what will be started now??
- The latest version of Rhapsody that you have installed. (Unless you have edited the registry)
- The Rhapsody Version described in the rhapsody.ini file that belongs to the started version. So if DefaultVersion is “Developer” then that’s the one you get. That is: when you have a license!
This will also open the model that you have chosen. And the language of that model. Even if your defualt is e.g. C++ and the model is C, the latter is the one that is opened.
Create a shortcut
I like to have shortcuts for all the versions of Rhapsody so I can decide what I start. IN the shortcut you can:
- Put a command line parameter to start the correct version _-dev_ed, etc -lang=c++
- Change the directory where you start RHP. So you can store multiple rhapsody.ini files!
Use the Windows Menu
Just go to “Start”. Then you can choose the version you want. 8.x, 9.x, C/C++, Developer, Architect. (If you have installed “Developer”.
Use the Context Menu
You first need to edit some registry stuff to add the versions to the Windows Context Menu.
- Delete or rename HKEY_CLASSES_ROOT\rpyxFile and HKEY_CLASSES_ROOT\rpyFile
- Create file rpy_reg.reg for old model versions or rpyx_reg.reg for new model versions
- Change the paths and versions to match your version
rpy_reg.reg old fileformat
[HKEY_CLASSES_ROOT\.rpy]
@=""
[HKEY_CLASSES_ROOT\.rpy\shell]
[HKEY_CLASSES_ROOT\.rpy\shell\02_84C]
[HKEY_CLASSES_ROOT\.rpy\shell\02_84C\command]
@="C:\\Dev Tools\\IBM\\Rational\\Rhapsody\\8.4\\rhapsody.exe %1 -dev_ed -lang=c"
[HKEY_CLASSES_ROOT\.rpy\shell\01_84C++]
[HKEY_CLASSES_ROOT\.rpy\shell\01_84C++\command]
@="C:\\Dev Tools\\IBM\\Rational\\Rhapsody\\8.4\\rhapsody.exe %1 -dev_ed -lang=cpp"
[HKEY_CLASSES_ROOT\.rpy\shell\04_831C]
[HKEY_CLASSES_ROOT\.rpy\shell\04_831C\command]
@="C:\\Dev Tools\\IBM\\Rational\\Rhapsody\\8.3.1\\rhapsody.exe %1 -dev_ed -lang=c"
[HKEY_CLASSES_ROOT\.rpy\shell\03_831C++]
[HKEY_CLASSES_ROOT\.rpy\shell\03_831C++\command]
@="C:\\Dev Tools\\IBM\\Rational\\Rhapsody\\8.3.1\\rhapsody.exe %1 -dev_ed -lang=cpp"
[HKEY_CLASSES_ROOT\.rpy\shell\06_815C]
[HKEY_CLASSES_ROOT\.rpy\shell\06_815C\command]
@="C:\\Dev Tools\\IBM\\Rational\\Rhapsody\\8.1.5\\rhapsody.exe %1 -dev_ed -lang=c"
[HKEY_CLASSES_ROOT\.rpy\shell\05_815C++]
[HKEY_CLASSES_ROOT\.rpy\shell\05_815C++\command]
@="C:\\Dev Tools\\IBM\\Rational\\Rhapsody\\8.1.5\\rhapsody.exe %1 -dev_ed -lang=cpp"\
rpyx_reg.reg new fileformat
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.rpyx]
@=""
[HKEY_CLASSES_ROOT\.rpyx\rpyxFile]
[HKEY_CLASSES_ROOT\.rpyx\rpyxFile\ShellNew]
[HKEY_CLASSES_ROOT\.rpyx\shell]
[HKEY_CLASSES_ROOT\.rpyx\shell\01_902C++]
[HKEY_CLASSES_ROOT\.rpyx\shell\01_902C++\command]
@="C:\\IBM\\Rhapsody\\9.0.2\\rhapsody.exe %1 -dev_ed -lang=cpp"
[HKEY_CLASSES_ROOT\.rpyx\shell\02_902C]
[HKEY_CLASSES_ROOT\.rpyx\shell\02_902C\command]
@="C:\\IBM\\Rhapsody\\9.0.2\\rhapsody.exe %1 -dev_ed -lang=c"
[HKEY_CLASSES_ROOT\.rpyx\shell\03_901C++]
[HKEY_CLASSES_ROOT\.rpyx\shell\03_901C++\command]
@="C:\\IBM\\Rhapsody\\9.0.1\\rhapsody.exe %1 -dev_ed -lang=cpp"
[HKEY_CLASSES_ROOT\.rpyx\shell\04_901C]
[HKEY_CLASSES_ROOT\.rpyx\shell\04_901C\command]
@="C:\\IBM\\Rhapsody\\9.0.1\\rhapsody.exe %1 -dev_ed -lang=c"
Now create the registry entries with double click on rpyx_reg.reg or rpy_reg.reg.

Thanks to Dennis Koelbel!
Have fun modeling with Rhapsody!
Walter van der Heiden ( walter@sodiuswillert.com )
0 Comments
2 Pingbacks