I am experiencing some difficulty using the exists method for a diagram
object.  The following is the description of this method.

Applies to
Diagram Class

Description
This function determines whether a specified diagram object exists.

Syntax
Exists = theDiagram.Exists (theRoseItem)

Element Description
Exists As Boolean               Returns the value of TRUE if the diagram
object exists
theDiagram As Diagram   Instance of the diagram whose existence is being
checked
theRoseItem As RoseItem         Instance of the Rose item that
corresponds to the diagram object

I don't understand why this function requires a RoseItem parameter.  How
do I know which 'Rose item corresponds to the diagram object'??  I tried
theDiagram.Exists(theDiagram.getParentContext()) and this returned
false, which does not make sense to me.  Any help on this issue would be
appreciated.



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