Hi,

The Import method of the Model class was introduced in Rose 2000e. This
method allows you to import packages (including controlled units) and
subsystems into a model. For example:

Set mdl = RoseApp.CurrentModel
isImported = mdl.Import ("c:\temp\testunit.cat")

where c:\temp\testunit.cat is a controlled unit from a different Rose model.

Very sincerely,
Rose Grissinger
Technical Writer
Rational Software

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 1:38 AM
To: [EMAIL PROTECTED]
Subject: RE: (ROSE) Extensibilty: importing classes



Hi,

That's not it Roger,

Assuming Brian wants to do it through the Rose Extensibility Interface, this
is not an option. Rose extensibility interface doesn;t let you load
controlled units through the REI. If i am wrong, i would very much like to
know how to do that.
The proposed solution of Brian won't work either because:
theNewClass = theCategory.AddClass( theName )
Just creates an empty class. Iassume that that's not what you want Brian.

Again, i am very interested in howto load a controlled unit from the
extensibility interface.

Regards
Rob





Roger St-Amand <[EMAIL PROTECTED]>@rational.com on 10-30-2001
10:34:16 PM

Please respond to Roger St-Amand <[EMAIL PROTECTED]>

Sent by:  [EMAIL PROTECTED]


To:     [EMAIL PROTECTED]
cc:      (bcc: Rob Westgeest/EHV/CE/PHILIPS)
Subject:  RE: (ROSE) Extensibilty: importing classes
Classification:





A simple way. Control a unit with your rose items from the source Rose model
and import that unit in the destination Rose model and uncontrol the
imported unit.

That's it.

Roger

-----Original Message-----
From: Annamalai Viswanathan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 30, 2001 9:41 AM
To: Brian Mclean
Cc: [EMAIL PROTECTED]
Subject: Re: (ROSE) Extensibilty: importing classes


Brian,

How are you trying to accomplish this, i.e. are you trying to do a copy to
clipboard and
then pasting from the clipboard or are you trying to create a petal of .cat
file??

Vishu

Brian Mclean wrote:

> I'd very much appreciate input on how to use the REI to copy a class to
from
> one model to another.
>
> I'm using VB and referencing the Rose Objects. So far I am able to get the
> class object from the model in which it exists, but can't work out how to
> insert it into the other model
>
> Many Thanks
>
> 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
> *
> * Admin.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
> *
> *************************************************************************

--
---
Annamalai "Vishu" Viswanathan� --� [EMAIL PROTECTED]
Rose Technical Support Engineer
Rational WW Customer Service

Check out http://www.therationaledge.com/ for tips and news for Rose users

---

************************************************************************
* 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/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
*
*************************************************************************





************************************************************************
* 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/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
*
*************************************************************************
************************************************************************
* 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/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