Patrick,
That is really funny :-)
Thanks it works fine
Yahel
Patrick Kennedy wrote:
> Sub Main
> Dim x As class
> Dim y As class
> Dim z As classDependency
>
> Dim cat As category
> Set cat = Roseapp.currentmodel.getallcategories.getFirst("Logical
> View")
>
> Set x = cat.addClass("BillClinton")
> Set y = cat.addclass("MonicaLewinsky")
> Set z = x.addClassDependency("Loves","MonicaLewinsky")
>
> Dim d As classDiagram
> Set d = cat.classdiagrams.getat(1)
>
> xxx=d.addclass(x)
> xxx=d.addclass(y)
> d.layout
> End Sub
>
> Patrick Kennedy
> Rational Support
>
> On Dec 6, 17:38, Yahel Hamou wrote:
> > Subject: (ROSE) Rose Script Question:AddClassDependency method
> >
> > Hello Guys,
> >
> > I'm looking for an example of the usage of the Rose Script method:
> > AddClassDependency.
> > I'm particularly having trouble with the input parameter of this method
> > and the documentation does not say a lot about it !
> >
> > Thanks a lot
> >
> > Yahel
> >
> >
> > ************************************************************************
> > * 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
> > *
> > *************************************************************************
> >
> >-- End of excerpt from Yahel Hamou
************************************************************************
* 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
*
*************************************************************************