![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: Null Transitions Topic Summary: Created On: 27-Oct-2004 12:49 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Anyone have a macro for this?
Short of creating a ReporterPLUS template to list all transitions and triggers, how would you check all transitions to see if they have triggers. Client has a large model, and Null Transitions Error pops up. But we don't know where the problem is. Andreas ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Andreas Themis Technical Support Engineer I-Logix, Incorporated [url]www.ilogix.com[/url] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Looking for the UML 2.0 tool of choice? Decide for yourself: [url]http://www.embeddedforecast.com/REDUML_0304.pdf[/url] |
|
![]() |
|
![]() |
|
Hi Andreas,
Here is one you can use: ... Sub checkNullTransitions() Dim elem As RPModelElement For Each elem In getProject.getNestedElementsRecursive If elem.metaClass = "Transition" Then Dim trans As RPTransition Set trans = elem If trans.getItsTrigger Is Nothing Then Debug.Print "The trigger in transition '" + trans.getFullPathName + "' is null!" End If End If Next elem End Sub ... |
|
![]() |
Telelogic Rhapsody
» Rhapsody Category » Rhapsody
»
Null Transitions
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.