Title: RE: (ROSE) REI Category/Package Rename

Hello Tammy,

        I am not certain if you have already received an answer for this question of yours, but changing a category/package's name is rather simple - you just change the value of the "Name" property of the category object in question. For example:

 Dim RoseAppObj As RoseApplication
 Set RoseAppObj = ...
 Dim Cat1 As RoseCategory
 'for the purpose of this example, .GetAt(3) would get the
 'first user-created package (skipping Logical View and Use Case View
 Set Cat1 = RoseAppObj.CurrentModel.GetAllCategories.GetAt(3)
 Cat1.Name = Cat1.Name & "_Changed"

Hope this helps. Please let me know if I have misunderstood your question.

 
Thank you,
 
Shaquille Asghari
Senior Support Engineer
Rational Software Corporation
 
Support: 1-800-433-5444
Sales/Licensing: 1-800-728-1212
Solution Knowledge Base: http://eservice.rational.com/solutions <http://eservice.rational.com/solutions>
SCP Certified: http://www.rational.com/support/scp.jsp <http://www.rational.com/support/scp.jsp>



-----Original Message-----
From: Lo, Tammy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 03, 2002 1:26 AM
To: '[EMAIL PROTECTED]'
Subject: (ROSE) REI Category/Package Rename



Hi all

Can I rename a category's name with Rose Automation using VB?  If yes, how
can I do this?

Thanks in advance.

Tammy
************************************
If this email is not intended for you, or you are not responsible for the
delivery of this message to the addressee, please note that this message may
contain ITT Privileged/Proprietary Information.  In such a case, you may not
copy or deliver this message to anyone.  You should destroy this message and
kindly notify the sender by reply email.  Information contained in this
message that does not relate to the business of ITT is neither endorsed by
nor attributable to ITT.
************************************
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
* Only plain-text messages are supported.
* HTML or Rich-Text messages may be rejected.
*
* 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