有没有一种方法可以导入Enterprise Architect中元素之间的关系? [英] Is there a way I can import relationship between elements in Enterprise Architect?
问题描述
对于给定的实体,我有很多元素。例如,我有一个名为 Person的实体,它与诸如 Age, Sex等元素具有许多关联/依赖关系。是否可以从CSV文件导入这些实体?
I have a number of elements for a given entity. For example I have an entity called "Person" and it has a number of associations/dependencies with elements such as "Age", "Sex", etc. Is there a way I can import these from a CSV file?
CSV文件中的结构如下;
The structure in the CSV file looks as follows;
Person Age
Person Sex
Person Location
推荐答案
脚本编制界面应允许您执行所需的操作。如果转到工具->脚本,然后打开EAScriptLib,则将有一个JScript-CSV库,其中包含用于CSV输入和输出的大量辅助功能。
The scripting interface should allow you to do what you need to do. If you go to Tools->Scripting and then open the EAScriptLib there is a JScript-CSV library with lots of helper function for CSV input and output.
这篇关于有没有一种方法可以导入Enterprise Architect中元素之间的关系?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!