Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started 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
-
You could try to "hack" into the database and change the type there.
No guarantees however as to what will happen.
Geert
-
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