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 - Geert Bellekens

Pages: 1 2 [3] 4 5 ... 561
General Board / Re: Updating Diagram.StyleEx attribute
« on: September 19, 2018, 01:48:37 am »
I know, this is quite an old topic, but I came to this point this week.
I cannot change the StyleEx in an SQL-Update-statement in a script if the diagram has not yet been touched inside EA before.

"has not yet been touched inside EA before" should express: I generate the diagrams also from a (different) script.

You're going to have to explain in a bit more detail to get any concrete help I'm afraid.


Suggestions and Requests / Re: Crossover accessibility
« on: September 19, 2018, 01:47:15 am »
Hi Dejan,

Make sure you also send in a official feature request.


Bugs and Issues / Re: Profile only partially imported
« on: September 19, 2018, 01:45:06 am »

The abstract stereotypes should also be exported into the UML profile xml file.
I just checked on one of my UML profiles.

Not sure why it isn't being exported in yours.


General Board / Re: Disable the abilty to Manage Add-Ins
« on: September 18, 2018, 09:30:17 pm »
Are you sure all of this is really worth it?

If someone has bad intentions you are not going to stop him with something like this (it certainly wouldn't stop me  ;D).
And in my experience, people acting in good faith are not likely to be wandering into an area such as the Manage Add-ins to disable an add-in.


General Board / Re: Disable the abilty to Manage Add-Ins
« on: September 18, 2018, 08:54:07 pm »
Yes. Extend the add-in to check for the user.

How would that work if the add-in is already disabled?
I don't think there is an event for enabling/disabling add-ins.

And I think Phil also wants to be able to restrict enabling/disabling any add-in, not only his add-in.

I guess you'll need to send in a change request.


Hi Paul,

I've never had the need to define icons on the toolbox. Just leave that empty and it will show the icon you define on the main profile.

Just make sure your icons are 16x16 bitmaps with 192.192.192 as the transparent background color.
And don't forget the fill in the metatype on the stereotype. Leaving that blank will also not make the icon appear (for obvious !NOT! reasons :-X)


PS. When comparing the two profiles it looks like you mixed up the icons a bit. (ALEA_system stereotype uses the same icon as the ALEA::ALEA_integration_point(UML::Port) toolbox item. But as I said, you don't need to define the icon on the toolbox level.

Automation Interface, Add-Ins and Tools / Re: How to compare objects
« on: September 17, 2018, 08:31:20 pm »
The vbscript Is operator returns true if both variables point to the same object instance.

The API does not have some sort of "single object space" concept.
So each time you use Repository.GetPackageByID() you get a different object instance, possibly representing the same package in the model.

So you can either implement your own single object space using Dictionaries or something like that, or just compare the object instances with their unique identifier.
For packages you can use the PackageID or the PackageGUID for that purpose.

If case you are using the PackageID, please not that each object type (=>table in the repository) has it's own ID range. This means you can have a package with ID = 120, but also an element with ID 120 and a connector with ID 120.

If GUID's are unique across object types, except for the packages and the elements that represent that same package. Those always have the same GUID.

So if you were building your own "cache" of all objects you have used you could use a single Dictionary if you use the GUID. If you use the ID then you'll have to create a dictionary for each object type.


Bugs and Issues / Re: EA repository performance on Oracle db
« on: September 15, 2018, 02:54:03 am »
Hi Jonathan,

The conclusion you reached seems to be consistent with my experience.

EA is a fat client that executes thousand upon thousands of tiny queries  every few seconds.

From experiences and feedback from users we know that Oracle performs terrible as the backend for EA.
The best performing databases are MySQL and SQL Server.

I'm guessing the MySQL and SQL Server are better optimized for the type of usage of EA.
Especially MySQL, which is very often used as the backend for websites. A typical website would show the same type of usage: lots of users executing relatively small queries in rapid succession. Oracle's typical usage is more like being the database of large ERP type systems. So I guess this database is better suited to treat a low number of large queries.

So, although it might be possible to tweak the database for EA, I've never come across a happy EA + Oracle user.
Most of them switch to MySQL or SQL Server at some point and are much happier after the switch.


First try a project integrity check.

If that doesn't help, search the forum. I think I saw a similar question pop up not too long ago.

If all else fails, contact sparx support.


Bugs and Issues / Re: Bizarre bug in QuickLinker!
« on: September 14, 2018, 05:55:20 pm »
I'm not astonished that Sparx still sticks to that dinosaur format for the QL. However, I wonder why people don't really insist on something more handy that really seem to use it. Go kick their butt. Or the trainer's to send a "feature" request which requires improving (actually I mean replacing) it.

Q, in fact they did. In v14 you can now model meta model constraints to control the quicklinker.
A big improvement over the old quicklinkder CSV definition.

I did notice however that the new method is not backwards compatible. No quicklinker in v12.1 when defined via meta model in v14.


General Board / Re: Create Replica of a Design Master via CommandLine
« on: September 13, 2018, 05:28:00 pm »

thx for the answers.

Is there another way, the work offline on the same eap file and merge it later?

Hi, you can't really merge models, but you can use version control to work together in offline mode.
The difference is that you check-out a package for exclusive use. Until the package is checked in again, other people won't be able to edit that package.
You can connect a bunch of different version control systems, but the most common ones are SVN and TFS.


General Board / Re: Create my own custom Diagram
« on: September 13, 2018, 02:35:29 pm »
MDGs, UML profiles and shapescripts are one of the more advanced features of EA with a lot of gotcha's.
It might be worthwhile to hire a consultant to give you a jump-start.


General Board / Re: Custom element label in EA with ArchiMate
« on: September 13, 2018, 02:30:35 pm »
I'd like to, but I don't see that option on the thread UI.. either I'm not seeing it or I don't have enough rights as a user, which is common for new users.

I think you have to have at least 20 posts before you can vote.


General Board / Re: search for text in .rtf document
« on: September 13, 2018, 02:26:30 pm »
Yes, standard searches do not return results from .rtf contents such as linked documents.

You can search them using a search script though. Check out this script to search for text in linked documents:


I'm not sure what type of diagrams or notation is used in the Entity Relationship diagram you are mentioning.

I'm guessing most of us where thinking about simple class diagrams, showing classes or tables.

Are you trying to model the actual tables, or some kind of more abstract logical datamodel?

For the tables, look into the Database Builder tool and use the table object created by that.

For a logical data model, I would use UML Class diagrams.


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