Nagesh,

Not sure I understand the question completely...but if what you are looking
to do is to assign a stereotype to a class then all you would need to do
would be something like this:

---
Dim theClasses As ClassCollection
Dim theClass As Class

Set theClasses = RoseApp.CurrentModel.GetAllClasses

For i = 1 To theClasses.Count
   Set theClass = theClasses.GetAt(i)
   theClass.Stereotype = "Stereo" & i
Next i   
---

But if what you are looking to do is to actually define a stereotype along
with its asociated icons etc. etc. then your script would need to write to
the defaultstereotypes.ini file etc. etc.  

Vishu

-----Original Message-----
From: nageshr
To: [EMAIL PROTECTED]
Sent: 7/5/2002 8:22 AM
Subject: (ROSE) rose script for creating stereotypes

hi
How to create stereotypes for a class using rose script?
does anybody has a sample script?
 
regds
nagesh r
 
-----------------------------------------------------------------------
This e-mail message is confidential and proprietary to Component
Insights Inc. <http://www.cominsights.com>  and may also contain legally
privileged information. If you are not the intended recipient you should
not copy, distribute, disclose or otherwise use the information in this
message. If this is a forwarded message, the content of this e-mail  may
not have been sent with the authority of the company. Also, please
delete the message from your system and servers and notify us at
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> . E-mail may
be susceptible to data corruption, interception and unauthorized
amendment, and we do not accept liability to such corruption,
interception or amendment or the consequences thereof.

************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Post or Reply to: [EMAIL PROTECTED]
* 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