Is there a convenient way to retrieve all the state machine diagrams in
a model.  The best way that I can come up with is to get all the classes
and then do

allClasses = RoseApp.CurrentModel.GetAllClasses()
aStateMachine = allClasses.GetAt(i).StateMachine
DiagramCollection.AddCollection aStateMachine.GetAllDiagrams()

The problem with this that I could easily end up with duplicate
statemachines and diagrams in the collection.



David Knight
------------------
GE Medical Systems
Software Engineering Intern
(262) 521-6586
[EMAIL PROTECTED]

************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages: 
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************

Reply via email to