enterprise-architect

Spax EA best way to export diagrams into Word document

爷,独闯天下 提交于 2019-12-12 04:20:02
问题 Got an old module which is generates reports with data from sparx ea project. There is a part where you need to insert diagrams as pictures in the document. Now it looks like that public static void copyDiagram( EA.Diagram diagram, EA.Repository eaRepository) { eaRepository.App.Project.PutDiagramImageOnClipboard(diagram.DiagramGUID, 0); eaRepository.CloseDiagram(diagram.DiagramID); } copying it to clipboard, and after that there goes something like currentDocumentRange.Paste() Looks strange

enterprise architech export a Use Case to excel

血红的双手。 提交于 2019-12-12 03:44:50
问题 i have a use case Diagram like this:Use Case can i export to a excel the name and descriptions? using a script ? 回答1: Yes, you can. There are two ways. One is a package export. From the browser use Import/Export / CSV... for the package which can export the according package with the use case(s). The second is to adapt the csv export script which can be found in Scripting/EAScriptLib (you need to enable the according MDG). 来源: https://stackoverflow.com/questions/44591727/enterprise-architech

Enterprise Architect and Subversion - The ability to import is currently locked

被刻印的时光 ゝ 提交于 2019-12-12 03:39:40
问题 After a crash we are trying to get EA and subversion to play nicely with each other. When I try to check out a package from EA, I get the following Message: The ability to import is currently locked by user: WSxxxx Where WSxxxx is the name of my work station I tried: svn cleanup : Returns no information svn status : Returns no information From EA Resync Statuses With all all packages From EA Get Latest : Reports locked then hangs Any idea what else I could try? 回答1: Since svn status doesn't

How to hide the label of a diagram link in Enterprise Architect using Add-in?

喜夏-厌秋 提交于 2019-12-12 03:22:55
问题 In Enterprise Architect, user can hide/show the labels of links (connectors) on a diagram. Concerning extension (add-in) development for EA, is there a function that calling it can set the visibility of a label on the diagram(s)? Or in another more general word, how is it possible to retrieve the list of the labels of a connector programmatically ? 回答1: You need to manipulate the diagramLinks.Geometry property. When you have a label this string will contain something like LMT=CX=6:CY=13:OX=42

Is it possible to Create Enterprise Archetict Extensions using Java? [closed]

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-12 02:26:25
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I am wondering if it is possible to build an AddIn Extension for Enterprise Architect in Java. I am searching, but I have not found any concrete answers. Could someone give me a recommendation for this situation? 回答1: Well it looks like, you can't build Enterprise Architect AddIns just using plain java code.

How to model reusable computer configurations in Enterprise Architect deployment model

自闭症网瘾萝莉.ら 提交于 2019-12-12 00:03:28
问题 I am on Enterprise Architect 13.5, creating a deployment diagram. I would like to define templates of servers that are always the same, e.g. with a specific processor, RAM, hard disks, and ideally also operating system. I would then like to reuse this type of template in several deployment diagrams where we are using the same types of computers. When we decide to change the types of computers (e.g. newer OS or more RAM), I would like to update a single place only and all computers

Sparx EA: What type of relationship created when a Component is added to a Node?

只愿长相守 提交于 2019-12-11 20:25:12
问题 In this question (point #3), I asked about getting a Packaging Component recognized as contained by a Node (device or execution environment) on a deployment diagram. No direct answer. However, the answers to other points led me toward an alternative that seems simple in concept: manually create the relationship or link. So, I looked @ one of my Component <--> Node "containment" links to see what Sparx creates in the background. But, from the properties page / dialog of both the Component and

How to open Image manager through Enterprise Architect API

被刻印的时光 ゝ 提交于 2019-12-11 16:04:51
问题 I am working on Enterprise Architect through C# add-ins. I need to display the image manager through automation where user can add directly add images on an "add image" button click in form. I use the API Repository.InvokeConstructPicker() but it only opens the select package/class/component window. Is there an EA API available to open the Image Manager. 回答1: No, there is none. There is the undocumented Respository.CustomCommand which can open several properties windows. But the image manager

Enterprise Architect: Hide only “top” labels of connectors programmatically

你。 提交于 2019-12-11 08:16:20
问题 I want to hide the "top" part of all connector labels of a diagram. For this, I tried to set up a script, but it currently hides ALL labels (also the "bottom" labels which I want to preserve): // Get a reference to the current diagram var currentDiagram as EA.Diagram; currentDiagram = Repository.GetCurrentDiagram(); if (currentDiagram != null) { for (var i = 0; i < currentDiagram.DiagramLinks.Count; i++) { var currentDiagramLink as EA.DiagramLink; currentDiagramLink = currentDiagram

Enterprise Architect: Refering to An Instantiated Class's Attribute in a State Transition

时光毁灭记忆、已成空白 提交于 2019-12-11 07:59:33
问题 In Enterprise Architect, I have a class defined with an attribute which is an enum. Is it possible to create a transition in a state machine based on a test of that enum's value? How? I find the only way to create transitions with triggers or signals very limited. My intent is to export the state machine to a requirements document. Although, I would think this should work with simulation. 回答1: A trigger is what causes a token to flow along a state transition. Take for example this state