Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Guillaume

Pages: 1 2 [3] 4 5 ... 40
31
General Board / Re: Diagram simulation with prompts
« on: January 12, 2018, 05:21:39 pm »
Hi Nizam,

Yes I looked at it but I found the dialog window from a trigger & signal better as it does not require to define any custom window.
Where the BPMN + Win32 dialog works ok, I'm still interested in understanding how to make the Triggers/Signal work on a common activity diagram.

thanks

32
General Board / Diagram simulation with prompts
« on: January 12, 2018, 04:33:29 am »
Hi,

I need to set up an example for a project that needs to generate result values based on the input value + rules on an activity (or state chart diagram).
I had a look at Sparx EA Example. I found that triggers & signals with attributes can be used to prompt users for inputs (e.g. in the Music Player > PlayList).
Oddly I cannot get this to work on a new State diagram.
I created a Trigger call Input1 with an associated signal Input1 that has a Name attribute.
In the statechart diagram, I created a transition to the first state with:
- effect = this.input1=this.Input1.Name
- Triggers = Input1 (Signal) -> an entry is visible in the list.

When running the interpreted simulation, EA doesn't stop nor prompt for anything. What seems to be missing?

Also, can I triggers on Activity Diagrams to prompt for values when running the simulation?

Thanks

33
It confirms what I thought. As a workaround I created array variables with the formatting definitions matching the stereotypes.

34
Hi,

I have a project running a custom UML profile via an installed MDG where UML stereotyped elements are displayed with custom colours.
Is there a way in a script via EA API to retrieve the current default bgcolor value on a given stereotype?

Thanks

35
General Board / Re: Package template - update existing elements
« on: January 09, 2018, 06:49:06 pm »
I wanted to use a package template prior to run a reverse engineering.
I was expecting to have the new colour on the generated classes following the reverse, and I wanted to find a way to apply the package template colours on existing elements from previous reverse engineering runs.

Anyway the template is not picked up by new reverse engineering, so I had to look for an alternative solution.
I found the SetAppearance on EA Elements which fulfils what I was looking for.



36
General Board / Re: Package template - update existing elements
« on: January 05, 2018, 11:44:17 pm »
Having looked at EA behaviour, I found out that when you enable the Package Template, EA applies the style on the element's associated diagram objects (backgrnd, font, etc.)
However it only works with elements that were created after enabling the Package Template so I can't figure out how EA differentiates elements that can be rendered according to the template (new elements) from the old ones.

I looked at the t_object content and there's nothing different between a new and an old element. I suspect EA stores something hidden somewhere, though I didn't find anything in the t_xref.

37
It would be useful for those who write and maintain scripts.
For instance gathering the current script name could also be useful to have a generic/universal session.output call such as " Session.Output Now & currentScript.Name & " INFO message...."

I found a workaround by adding fake scripting ids via constants in a common file.

FYI, I have a number of scripts that prompt the user to select a destination or source folder with the files to process (e.g. Excel export or import). To save time, I'm storing in EA t_xref the selected folder for each script so the user can keep or modify it, hence the need to know the script id.


38
General Board / Package template - update existing elements
« on: January 05, 2018, 06:43:59 pm »
Package templates can be useful to alter the default colours for elements as illustrated here: http://www.umlchannel.com/en/enterprise-architect/item/211-mastering-archimate-alternate-colour-scheme-with-archimate-3.
It works for elements created after the Package Template has been defined.
Is there a way with EA or any available scripts out there to update existing elements default rendering?

Thanks

39
Hi,

I'd like to call a common function where the expected argument is the script ID (as per t_script.scriptid).
It doesn't seem to be possible to dynamically retrieve such information for the running script. Am I missing something or do we need a new Repository.GetCurrentScriptID method in the API?

Thanks

40
Hi Peter,

Values are set in the block's "attributes" (F9 ket shortcut) and can be associated e.g. with a primitive or value type.
Value types hence need to be defined separately and picked up as a type for a value of your block.

Once you've done that, the value will show up in the compartment


41
General Board / Re: We are dissapointed since Version 13
« on: December 06, 2017, 09:35:38 pm »
Integration of the ribbons by Sparx is an expected move to be in line with other tools UI.

I understand the difficulties in introducing the ribbons in EA13, yet this is just the same situation as when we first got Office 2007.
I initially didn't like it, yet I'm now used to it...

To help clients in the same situation as yours, I produced and shared a mapping helper doc, available to download from http://www.umlchannel.com/en/enterprise-architect/item/232-mapping-between-enterprise-architect-12-1-menus-and-enterprise-architect-13-ribbons
Compared with MS Office, such move can indeed introduce tensions from users who didn't in the 1st place do any modelling, and were happy with powerpoint and Visio.

The only criticism I have on the current EA ribbons is that you cannot hide single functions from menus as you're limited to groups of functions. This is something that should hopefully be addressed in the future.


42
Hi,

I had the same query from a client a month ago and it was very easy to enable the set the right log level on the keystore server.
Really straightforward to set up and I could see some nice CSV details that could be consumed in a suitable third party tool.

Where Sparx let you generare the core log files, it's feasible to set up a custom tool that will provide access to those stats (an Excel file shared somewhere, a daily email notification, or a web interface with computed details). As it often happens, when a client has a specific need, it's most of the time possible to implement it through the API combined with a script, addin or third party tool. One has to appreciate that whilst Sparx EA includes numerous features, one cannot expect that its own top priorities must match the editor's.

As a final note I really disagree with your harsh comment.

Regards
Guillaume

43
General Board / Re: ARIS import/export
« on: December 01, 2017, 03:08:20 am »
Thanks for the reply.

Based on an old version of ARIS DTD https://github.com/stavnstrup/nisp2aris/blob/master/ARIS-Export.dtd, and an XML ARIS extract I got, it seems to handle diagram content with objects and not actual elements such as processes, actors, etc.

To your knowledge, should there be a different export to run from ARIS?


44
General Board / Re: ARIS import/export
« on: December 01, 2017, 02:19:48 am »
Hi,

Reopening this old thread as I'm currently looking at way to import ARIS XML extracts (using "ARIS-Export.dtd"), I was wondering if at the end you imported elements only, or also some of the diagrams with matching positions and sizes?

Thanks

45
Hi Helmut,

Thanks for the info. I seem to have found a solution by combining your approach with custom actions as suggested by Geert.
I wanted to use Custom Actions to avoid having to run Wix Heat tool and copy/paste each time the content.
The way I defined it lets me register and unregister the DLL respectively during the install and uninstall processes.

I will write something up once tests and installation from various users don't bring any other issue.
I published both the standard and portable editions of eaUtils on http://www.eautils.com/en/download. Please feel free to install and send me your feedback (successful or else...)

Thanks

Pages: 1 2 [3] 4 5 ... 40