Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: adepreter on January 12, 2012, 10:26:48 pm

Title: Changing all Packaging Components into Components
Post by: adepreter on January 12, 2012, 10:26:48 pm
Hello,

In the Sparx UI, when trying to change the value of the "Type" property of a Packaging Component, the system says "this type cannot be changed to another".

Does anybody knows how to automatically change all Packaging Components into Components (wtithout loosing all the relationships)?

Any available code or little app to perform this?

Thanks

Alain
Title: Re: Changing all Packaging Components into Compone
Post by: Geert Bellekens on January 13, 2012, 12:17:20 am
You could try to "hack" into the database and change the type there.
No guarantees however as to what will happen.

Geert
Title: Re: Changing all Packaging Components into Compone
Post by: adepreter on January 13, 2012, 02:30:59 am
Thank you Geert.

Not sure that would work. In the Sparx repository data model, the Package does not seem to be an Object (No Object ID as secondery key in t_package).

It probably needs to be done by code.

Alain