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.

Topics - Boron

Pages: 1 [2]
General Board / Transparent background color for elements?
« on: January 21, 2012, 01:02:16 am »
how can I set a transparent color (well, "no color") as background color for an element?

I have unintentionally set a background color for an Activity Partition. Now I should change it back to "transparent".
Somehow this seems not to be possible.

General Board / Cannot delete package
« on: December 07, 2011, 06:44:06 pm »

I have a very strange thing here in my EA model.
In the project Browser I see an empty package that I want to delete. There is no diagram or sub-package visible in the project browser.

I locked the package and its parent package as I want to delete the empty package.
An error message is telling me:
The selected item is currently locked, or
contains items that are currently locked.

It can not be deleted at this time.
When locking the package I of course checked the "Include Child Packages" option.

Any idea what EA has done to my model, and how I can solve this?

General Board / Version controlled packages: Replace xml file
« on: November 21, 2011, 11:47:32 pm »

we have enabled version control for our packages in our project models (EA 9 with ClearCase as version control system). This means that we have many version controlled xml files, each containing the design of one packages. Together they form the complete design of our software.
Up to now we have no big problems with this approach.
Just for one thing...

If we want to enable version control for a newly designed package and store it with the file name e.g. Package.xml what can we do  if we want to replace an already existing file with the same name?
I know that deleting the original file from version control system and create it new by setting the EA package under version control would be the straightforward method (EA exports the package content to xml and sets the file under version control).
But let us assume this is not an option.
What if I just want to replace the already existing file?
Is this possible with EA, and how?

General Board / Automated project transfer
« on: October 27, 2011, 07:41:23 pm »
I often need to make baselines of our project models. Our models are stored in a SQL database. We have about 10 different model ().
We don't use the EA baselining mechanism as we want eap files to be checked in our version control system.
Therefore we make a "project transfer" (DBMS to .EAP) for each single model in the database. This is very time consuming and prone to erros (e.g. selected model X for the transfer when you meant Y).

Is there a way to automated this? Maybe via the automation interface?
Thanks for any idea?

General Board / Decouple EA model from version control
« on: September 22, 2011, 06:46:13 pm »
Hello all,

I have an EA model that is under version control (ClearCase). Means: several packages are version controlled and subpackages of the "parent packages" are separately version controlled too.

My question is if there is an easy way to completey decouple all version controlled packages from version control without checking each single package manually?

Kind regards,

General Board / Delete tagged values on many elements
« on: July 22, 2011, 04:50:48 pm »
in our model we have over 6000 elements (classes and ports) where each has a tagged value name "CA_version".
As we don't need that tagged value any more I wonder how I can delete all these tags without doing it manually (selecting the tag in the tagged value window and clicking on the delete button).

How can thousands of tagged values (identical name) on thousands of elements be deleted?
By directly manipulating the database?
Other idea?

General Board / Swtich off color gradient in class elements?
« on: July 13, 2011, 11:24:25 pm »
EA version is 9.0.907.
I wonder if it is possible to switch off the color gradient of a class element in a diagram.
In the Tools -> Options... dialog it is possible to switch on or off the "gradient fill for paper color". Is the same possible for the gradient fill in diagram elements like classes?
This gradient look awful when a diagram is printed or stored as PDF file.

General Board / Sort the elements of a class?
« on: April 07, 2010, 11:35:58 pm »
Hello EA users,

I would like to ask if it is possible to sort the elements of a class in the project browser?
If allowed I would have attached a small snapshot of the project browser, but so a the following text must be suffucient:
Code: [Select]
- <<servicePoint>> servicePort_2
- <<requestPoint>> abcPort
- <<servicePoint>> servicePort
- <<requestPoint>> defPort
- <<myPort>> myPort
New elements seem to be alphabetically sorted when added to the class. Sorting can later be done via the context menu entries "Move up" and "Move down".

But if the elements are not sorted, eg. someone "moved up" and "down" the elements, is it possible to let EA resort the elements, e.g. sort by stereotype and/or alphabetically?

Many thanks for your help in advance.

Bugs and Issues / Problems with images / image manager
« on: August 06, 2014, 05:00:01 pm »
we are planning to migrate our EA model repositories from PostgreSQL 8.4 to 9.3.x.
After having set up the new server and database we transferred a model to the new server:
- On old server: create a backup file using pgAdmin III
- Copy file to new server
- On new server: restore the backup file into a database

When connecting from EA on a client PC to the new database EA 11 does not display images  that have been imported to the model.

All images accessible via the Image Manager (menu Settings -> Images...) cannot be displayed by EA.
Clicking on a bitmap "File Type" image shows only a black preview image.
Image of "ENHMetafile" type are commented with a message box telling "Not a PNG file", which is obviously correct.

I checked accessing the model with EA 9 and EA 11. Both version show the same behavior when using PostgreSQL 9.3.x as repository server.
When connecting to the old server with PostgreSQL 8.4 all EA versions don't have problems with the embedded images in the models.

I cannot image what might be different between PostgreSQL 8.4 and 9.3 concerning images in an EA model. Images are stored as binary data in the database.
So what is wrong here?

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 / 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.


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 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 [2]