Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Wade Brooks on October 04, 2014, 02:48:40 pm
-
I need to add the data types from <cstdint> to EA C++ data types. I need to do this in many models and some future models. Is there a way to do this from the API? of from am XML export/import?
Thanks for any suggestions on how to automate this!
-
You could manipulate t_datatypes with Repository.Execute("INSERT..."). The structure is rather easy to understand.
There might be a way to import them via Project/Im-/Export/Reference Data but I could not find the corresponding entry on the fly.
q.
-
I have created datatypes for an unsupported language using the import/export reference data path. I have not attempted to modify types for existing languages.