Planet Jazz is an aggregation of blogs written about the Jazz-based IBM Engineering products or related technologies by users, fans, and experts from all over the world. You can subscribe to the RSS feed to follow along, or check back here to read the latest.
Overview When obtaining information from Rhapsody properties through the API, the IRPApplication class has a very useful function: This will automatically replce any $keywords such as $OMROOT with their real values. But this also expands any system environment variable, or even custom variables you add…

Calling Plugins from Context Patterns As you may already be aware you can call java plugin methods from within context patterns, for example: {uc}pluginMethod:getUseCases But you may not know that you can qualify that with a specific plugin. Doing so has two advantages: To qualify…
What is WebView2 ? WebView2 is a control provided by Microsoft that allows applications to embed web technologies into their apps (it uses Microsoft Edge as the rendering engine). https://learn.microsoft.com/en-us/microsoft-edge/webview2/ Historically Rhapsody used an embedded Internet Explorer whenever it needed to display web content (such…
Viewpoints in Rhapsody Views and Viewpoints are part of the SysML Profile and on the surface they seem kind of pointless since they don't do anything - or do they? Did you know you can use a Viewpoint in a query? (Which can then be…

The Property Race When Rhapsody loads profiles it also loads any property files at that time. If a property is defined more than once (which may happen when you have multiple profiles) then there is a race condition - and there is no way to…
Getting Overridden Properties by Pattern A quick Rhapsody API tip since this particular function is undocumented: getOverriddenPropertiesByPattern (String, int, int) Takes three arguments: This string ahould be in the form Subject.Metaclass.Pattern but any 2 of the three may be omitted, for example you can use:…
Overview When launched, Rhapsody takes many settings from the rhapsody.ini file in its root folder, such as (for example) the animation port to use and (if you are writing your own helpers) the remote debugging port. This can make it difficult to open more than…
Overview Today I got asked an interesting question: How can I have two drawing tools that create compositions of different objects of the same class? The answer wasn't quite as straightforward as I thought! Rhapsody has a property PartMetaclassName which you can specify on a…
Overview Plugin Helpers When a Java based helper is added to Rhapsody as a plugin (in a HEP file) then the plugin init method is passed the Rhapsody instance that called it: Note: This is only true if your code actually uses that argument. If…

Overview Are you used to being able to drag .rpy or .rpyx files from Windows explorer into Rhapsody to quickly open a project ? I am - I use it all the time - but in Rhapsody version 10 things have changed a little. Rhapsody…
1-10 of 11 items
page
1