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 ... 518
1
<snip>.. (If I find out how to get it done without SQL I will post it)<snip>
You can't update PDATA fields (Miscdata) from the API.

Geert

2
General Board / Re: Can I set icon in the top-right of a class
« on: December 15, 2017, 10:48:57 pm »
The table icon is a decoration defined in a shapescript.

See http://www.sparxsystems.com/enterprise_architect_user_guide/13.5/modeling_tools/example_scripts.html

Geert

3
General Board / Re: Shapescript. Color definition
« on: December 15, 2017, 09:25:03 pm »
use something like
Code: [Select]
     if (HasTag ("Trigger", "None"))
     {
               //set color here
     }

Geert

4
General Board / Re: Change attribute type menu
« on: December 15, 2017, 09:10:40 pm »
but whatever you do, "int" will always be the default  :-X

Geert

5
General Board / Re: Shapescript. Color definition
« on: December 15, 2017, 09:09:51 pm »
I'm not sure if it has anything to do with the DrawParentShape() itself. Might be a problem with the archimate shapescript.
As we know these aren't the best written shapescripts ever. (the ones from BPMN are much much better)

Geert

7
General Board / Re: Shapescript. Color definition
« on: December 15, 2017, 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

8
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

9
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


10
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

11
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

12
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

13
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

14
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

15
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

Pages: [1] 2 3 ... 518