Hi, there

ControllableUnit in Rose includes: Category, Model, Subsystem.
Class is not a ControllabelUnit.
You can't load or unload a class, as it's not a ControllabelUnit.
While, you can load or unload a Category.

aCategory.SaveAs(Path): this save the ControllableUnit to a different file.
aCategory.Load(): this loads the unit in the current model.

Check ControllabeUnit methods in Rose help for these methods. / dan

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, November 01, 2001 2: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



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