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 - Boron

Pages: 1 ... 3 4 [5]
Bugs and Issues / Re: Text in note elements loose line breaks
« on: May 12, 2014, 06:24:57 pm »
We are not working with add-ins. Especially no add-ins working on "notes".

I just found out, that on other PCs the note texts are OK, which means the text is shown with line breaks as they have originally been set.
It seems to be my PC that causes weird displaying of note texts.

Bugs and Issues / Text in note elements loose line breaks
« on: May 09, 2014, 05:33:45 pm »
I have a really strange and annoying problem with EA 9.3 (I also tried the new EA 11 but it shows the same behavior).

In the last few moth there are more and more note elements in our EA models whose texts have somehow lost the intended line breaks.
E.g. sometimes we have tiny code snippets (are any other text, doesn't matter). This snippet has been entered with line breaks:
int myFunction(void)
    //do something

One day this snippet was shown the following way in the diagram and in the note properties dialog:
int myFunction(void){   //do something}

Sometimes it helps to type in the text again with line breaks, but it is impossible to cover all notes throughout all the models.

I have not found a similar problem in this forum.
Reinstalling EA did not help (regardless the version, see above).

Any idea what might cause this problem?
Any idea how to solve this?

Uml Process / Re: V12 - Add new package to Version Controlled pa
« on: September 11, 2015, 04:39:57 pm »
I hope I understood you correct in what you want to achieve.

When you want a newly created "sub-package" below a version cotrolled parent package to be part of the "version control" of the parent package you have to do no further steps.
When checking in the parent package the newly created sub-package (and its complete content) will automatically be exported as well and checked in inside the *.xml file of the parent package.

When you want a newly created "sub-package" below a version cotrolled parent package to be separately under "version control" you have to right-click on the sub-package'/Package Control/Configure', thus creating a separate *.xml file with only teh content of the sub-package.
The *.xml file of the parent package will then only reference the other xml file (after the "parent xml" has been exported and checked in of course).

Kind regards

Uml Process / Re: Set default notes for newly created elements
« on: December 18, 2012, 11:26:02 pm »
The element in the project template package is already a stereotyped one.

Size and background color are taken from the template. But the element's notes stay blank.

Uml Process / Re: Set default notes for newly created elements
« on: December 14, 2012, 01:21:48 am »
Since months the "template package" does not work any more :(.

I tried
- reset the template package (set to another package and set it back to the real template package)
- disconnect the template package from package control (template was under version control in ClearCase up to now)
- reimport our custom UML profile

Nothing helped. Whenever I create a new element, that has a template in the template package, the default "note" text is ignored.

As the newly created element has a "customized" stereotype with a customized shape script I fear this has to to with the problem. But I wonder why it worked for over a year until September 2012.

Uml Process / Re: Set default notes for newly created elements
« on: August 16, 2011, 07:30:40 pm »
Quite a helpful feature. Up to now I didn't even know that there is something like a "template package".
Thanks for the help.

Uml Process / Set default notes for newly created elements
« on: August 16, 2011, 05:42:05 pm »
In our UML profile we defined a stereotype "Invariant" based on the metaclass Requirement.
Is it possible to set a "default comment" for elements based on a stereotype?

I thought of extending the shape script in some way. Currently we display the notes of such an element with the shape script command printwrapped("#notes#"). But this simplay takes the notes that the user enters for the element.
I want to set a default note that may be edited by the user.

Args, you are right.
I saw this in the documentation but just did not "see" it.

Thanks a lot.


I would like to compare the value of a tag with a fixed string.
The elements, where to script applies, have a tag called "ASIL". This tag has an enum type (only five different values selectable in drop-down list).
The shape script shall append an "A" to the name of the element in the diagram if the tag has the value "ASIL A".
The only thing what is not working is the string compare in line 3.

Any idea how strings can be compared?
If not: any alternatives?
Code: [Select]
   if( "#tag:ASIL#" == "ASIL A") {
   else {


I am looking for information concerning version control (package control) in EA and the automation interface.

My search in the EA help didn't answer the question if version control of packages is accessible via the automation interfaces or not.

I would like to run a "Get all latest" on an eap file called from a python script that uses the EA automation script.
Used EA version is 9.3.

;) I would never test this on a "productive" model. That is why my local hard disk is filled with eap files for testing "things".
I am not very keen on being killed by my colleagues.

Thank you very much :).
This seems to be the way I need to go.

Your second points sound quite interesting.
So you say it is possible to have an mechanism that can import scripts and update the scripts stored inside the model?

Can you give me some hints or keywords for searching more info on this?
Thanks a lot.


I have a bunch of scripts (JScript) that I use to create some numbers I need for a report on the EA model.
Example: A script that finds all elements in a model with a special tagged value.

As we have many EA models I need to use the same scripts in all models.
I would like to have the script source codes stored outside the models on a network share or a version control repository.
But as far as I can see the scripts have to be stored "inside" the EA model (EA 9.3 menu View -> Scripting).

Is there a way to run scripts that are stored outside EA?
It is really annoying writing /extending/bugfixing a script in one model and deploy it to all other models.

Any idea is welcome.
Except for writing add-ins where we would need something like C# or Visual whatever ;).

I did not find methods in the Automation API to apply and release user locks of model elements.

The purpose of my script is to find all elements containing a special tagged value and delete that tagged value.
As our model has "enabled security" the deleting can only happen when the element is locked for me, when I am running that script.
Instead of locking the whole model (about 20 users are working at the same time) I though of only locking the current element, delete the tag and unlock the element. Then move to the next element.
The other users wouldn't even notive that the script was executed.

Thanks for any idea.

Pages: 1 ... 3 4 [5]