动画启动时,如果 IBM® Rational® Rhapsody® 找到名为 omanimator.cfg 的文件,那么它将运行该文件。此方法对于大型项目或者包含 GUI 的项目而言可能非常有用,这是因为,您可以编写并自动执行类似于以下示例的脚本:
//================================================ // Switch off the animation before starting watch // Run with animation off to create all objects go idle // Switch animation back on display // Run continuously go //================================================