Hi,
I was trying to do the following:
dim the Model as Model
dim objClassDiagram as ClassDiagram
set theModel = RoseApp.CurrentModel
set objClassDiagram = theModel.GetActiveDiagram() //error!!!

I get a compile time error on line 4 that the assigned variable and the
expression are of different types. Is this because "GetActiveDiagram"
returns a "diagram" and not a "ClassDiagram"? However I know that the
diagram being returned is a ClassDiagram. Can I do something to assign the
returned object reference to a ClassDiagram variable and not to a Diagram
variable?
Thanks and Regards
Manish 
************************************************************************
* 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/support/usergroups/rose/rose_forum.jsp
* 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