Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic Rhapsody (steve huntington)
Decrease font size
Increase font size
Topic Title: Null Transitions
Topic Summary:
Created On: 27-Oct-2004 12:49
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 27-Oct-2004 12:49
User is offline View Users Profile Print this message


Default User

Posts: 70
Joined: 20-Jul-2004

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]
Report this to a Moderator Report this to a Moderator
 27-Oct-2004 12:49
User is offline View Users Profile Print this message


Steve Lachs

Posts: 100
Joined: 4-Feb-2004

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
...
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic Rhapsody forum.
There are currently 1 users logged in.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.