Hi
Using VB, I am creating new classes from external information and creating
attributes for the new classes. In the model, both the class and the
attributes have a property tool called "OurOwnTool". Both appear to be
correctly set up.
When setting properties for the new class I use the following code:
Set oProperties = newClass.GetAllProperties
For i = 1 To oProperties.Count
Set oProperty = oProperties.GetAt(i)
If oProperty.ToolName = "OurOwnTool" Then
If oProperty.Name = "Description" Then oClass.OverrideProperty
"OurOwnTool", "Description", "New Description"
End If
Next i
This code works 100% and I always find properties with Toolname
"OurOwnTool".
However, for the new attributes, using similar code, I can't find any
properties woth Toolname "OurOwnTool", although I can see the tool in the
model.
Any ideas what the problem may be?
Brian McLean
Rubico (Pty) Ltd - The Business Component Company
Tel: +27 (11) 808 1000
Direct: +27 (11) 808 1298
Cell Phone: +27 82 669 5548
http://www.Rubico.com
************************************************************************
* 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
*************************************************************************