Hi all,
I try to create a nre package in the logical view via the Rose API (VB).

The sub function looks like:
...
Private Sub createSubPackage_Click()
Dim theModel   As RoseModel
Dim LogicalView As RosePackage
Dim newPackage As New RosePackage



If projectName.Text = "" Then
    MsgBox "Please insert the project name"
    projectName.SetFocus
    Exit Sub
End If
    Set theModel = lRoseApp.CurrentModel
    Set LogicalView = theModel.GetAllCategories.GetFirst("Logical View")
    ????????????
    newPackage.Name = "newPackage"
    LogicalView.Add newPackage
End Sub
...

The problem is how to create the new package, the help in Rose is not very
satisfiing.
Does anybody know how to create the new package ???

CU
Gebhard

Gebhard Ebeling
Software Developement
Delphi Delco Electronics GmbH
Mobile Multimedia Design Center
Tec Center
D-31162 Bad Salzdetfurth
Germany
Phone   +49 (0)5063 990-369
email:[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