IBM Support

How to disable Animation for certain packages only

Question & Answer


Question

How do you disable animation for a particular IBM Rational Rhapsody package?

Cause

If animation is enabled for all packages, then animation code is generated and the classes from all packages are animated, which might not be a desired result. This could clog the sequence diagrams generated with unwanted event and message information or make debug difficult.

Answer

If the animation for the entire project has to be disabled, set the Instrumentation option under Settings tab of the Active Configuration to 'None'.

Note: If this is only for certain packages, then you must set the following option in the Properties:

CG:Type:Animate

Set this property of the package that you do not want animation for to false.

The semantics of the Animate property is always in favor of the owner settings:

  • If a package Animate property check box is cleared, all the classes owned by the package are not animated, regardless of the class Animate settings.
  • If a class Animate property check box is cleared, all the elements in the class (attributes, operations, relations, and so on) are not animated.
  • If an operation Animate property check box is cleared, all the arguments are not animated.
  • If the AnimateArguments property check box is cleared, all the arguments are not animated, regardless of the specific argument Animate property settings.

For most of the Animate properties, the possible values are checked and Cleared; however, the property CG::Type::Animate has three possible values:
  • True - The code generator analyzes the data type and instruments it according to its type.
  • False - Disable the generation of animation calls.
  • Force - Generate animation calls.

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

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21424707