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 ... 517
1
General Board / Re: Shapescript. Color definition
« on: Today at 03:36:51 am »
You should not set the color in the schapescript, but change the color of the stereotype item on the profile diagram.
Then make sure the option to take the colors is checked when exporting your UML profile. (don't know exactly how that option is called)

Geert

2
Yes, this is the solution!  Thank you!

I never used this feature and I wonder how he switched it on.  Anyway, it works and now he can start working  ;)

Heiko
When first installing or upgrading to version 12 you get a popup asking to choose a perspective.
If you then choose for something like "Business analyst" (which is logical if that is your function) then you are stuck with that perspective as your default perspective.

Geert

3
I see, your collegue is a victim of "Workspaces and commands"

There are a number of predefined menu sets that limit the menu options.
In order to get them all back go to
(V13) Ribbon Start | Workspace | Perspectives | Menu Sets and choose the option Complete

In v12 this functionality is somewhere under the View menu IIRC.

Geert


4
General Board / Re: Can I enforce unique class names
« on: December 14, 2017, 09:58:44 pm »
Not out of the box.

But it is fairly simple to write an EA-Matic script or add-in to enforce something like that.

Geert

5
Heiko,

How do you know that he can't lock packages or elements?
Do you get an error?
Is the menu option not there?
Is the menu option grayed out?

Geert

6
Bugs and Issues / Re: Avoiding deleting elements in use
« on: December 14, 2017, 06:00:12 pm »
This search might help a bit, although it doesn't include conveyed items yet
https://bellekens.com/2015/10/16/searching-for-real-orphans-in-enterprise-architect/

Geert

7
If I were you I would start by doing a simple import, and then using automation go over each of the elements, find it's original element and merge/replace the original with the new one.

This is not a small task, but at least you would know exactly what you are doing, whereas the xmi approach would be a whole lot of trial and error.

Anyway, there is never a reason to want to change the GUID of any API object.
The only result you'll get is an inconsistent model and maybe some database errors if you are lucky (unique constraint violation)

Geert

8
Bugs and Issues / Re: Virtual Connectors do not execute Shape Scripts
« on: December 13, 2017, 09:59:41 pm »
OK. Let's say it is an incomplete implementation and as a result, virtual connectors are useless when MDGs are used.

I wonder what is the percentage of users that do not use MDGs?
Probably lower then the percentage of users that don't use virtualized connector ends.
I never use those (and I advice all my customers not to use it) because of the weird implementation. I'd rather stick with the old limitation of having maximum one representation of an element on a diagram.

My feeling is that, in most cases using virtualized connector ends hides a more fundamental misunderstanding of how something should be modeled. There are exceptions of course, but usually it's easier to simply forbid it's usage then to verify all of the usages to make sure they are valid.

Geert

9
Ah, I see.

The weird thing is that, when using regular document generation this behavior is standard.
All my diagram are shrunk to exactly the size of a page.
Could it be that the document generator behaves differently when executed from script?

I would take that up with Sparx support.

Anyway, as a workaround you could write a little macro in Word to resize the images. If you search the forum you'll find one that I posted a while ago to do just that.
We actually wanted the diagram to be a little bit smaller than a whole page so the caption would stay on the same page.

Geert

10
General Board / Re: Import of PlantUML Sequence Diagrams
« on: December 13, 2017, 05:39:02 pm »
I think that is going to be a difficult one.
AFAIK PlantUML is more a diagram tool then a modelling tool.
That means that you can use whatever elements on you diagrams without a reference to an underlying model.
This is especially troublesome for sequence diagrams as they usually represent only something like the behavior of a single operation.
So in other to describe the full behavior of a single element you typically need several sequence diagrams. Now if none of the instances in the sequence diagram somehow represent an underlying element, you would import nothing but garbage into your EA model, having tons of lifelines without a classifier.

I'm not sure how that problem could be solved...

Geert

11
I am using docGenerator.DocumentDiagram( currentDiagram.DiagramID, 0, myRtfTemplateFragment) to "print" large diagrams in an RTF document.

Hi Geert,

I am not looking for dividing diagrams.  I am looking for a method to shrink each diagram so that it fits into the A4 age.
If you leave that unchecked I think it should do just that (as in not divide over multiple pages)

Geert

12
General Board / Re: Opening project via SharePoint interface
« on: December 13, 2017, 03:23:09 am »
You can't.
.eap files are MS-Access databases.
Sharepoint is meant as a storage for documents, not for databases.

Geert

13
On the diagram properties there is
Diagram | Document Generation Options | Divide Diagram into multiple pages
I think that might be what you are looking for.

Geert

14
I guess this is an SQL search and not a script.
First thing to do is check the dbError.txt in the %appdata% folder for EA.

Then remove the comments. IIRC EA will strip (or it used to) everything after the first comments, so your search will be nothing more then "SELECT"

Next thing is the To_Number(t_connector.PDATA1) there's a good chance you have somewhere a text in a PDATA1
I guess you better cast both fields to string to compare them instead of trying to cast it to a number.

Geert

15
Automation Interface, Add-Ins and Tools / Re: GUID of a diagram
« on: December 12, 2017, 03:22:09 pm »
As a post-note: the "*" should be replaced by "%wc%" "#WC#" so it will work also on non MS Access (aka EAP) RDBMS.

q.
FTFY

Geert

Pages: [1] 2 3 ... 517