Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: JDavies1000 on July 05, 2014, 12:48:57 am

Title: Numerous automation questions and other
Post by: JDavies1000 on July 05, 2014, 12:48:57 am
Hi,

I've created a reasonable complex project in which I'm laying out components on the diagram using Java driven automation.

Works great but I have some visual components that need to modify. There are:

TEXT ORIENTATION
-----------------------

A number of my components are orientated such that they have a much larger height than width. I would therefore like to have the text run vertically. I have see this when using BPMN Pools so I know its possible but not sure how to switch on this behaviour.

SCRIPTING
-------------

I would like to add additional elements to my diagram objects. I have seen how the stereotype scripting can help. What I would like to do is load the BPMN stereotypes and see how the script looks which should give me clues on modifying it. Is this possible?

MDG
-----

Am I able to load an MDG and then modify it and save it under a different name. Again, BPMN as an example.

Look forward to hearing from you.

Cheers

Jez

Title: Re: Numerous automation questions and other
Post by: OpenIT Solutions on July 05, 2014, 11:26:20 pm
Text orientation - you will have to create a shape script or edit an existing one. To edit the existing BPMN shapescripts - import the BPMN 2.0 Technology.xml file found in Program File (x86)\Spark Systems\EA\MDG Technologies. Open the Resources tab, right click on MDG Technologies and select Import Technology. Then go to Settings->UML Types... You should find the imported BPMN stereotypes and associated shapescripts.

Hope this helps,

Jon.