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

Pages: [1] 2 3 ... 5
Automation Interface, Add-Ins and Tools / Re: Nesting Master Documents?
« on: December 07, 2016, 07:53:55 pm »
It is not possible to nest Master Documents.

But, Master Document is now replaced by Report Package, and perhaps these are able to nest? In EA 12.1 I can't get Report Package to work at all though... :/


I'm trying to migrate from using <Master Documents> to <Report Package>, but I'm stumbling (Using EA 12.1).

I create a <Report Package>. I add <Model documents> with defined RTF-templates. I can generate each <Model document> separately, but when running document generation on the <Report package> all I get is an empty template. It is not using any of the Model documents, like a <Master document> would.

The <Report package> behaves like any ordinary package would, it runs its RTF-template but if the template isn't telling it to loop through owned objects (i.e. model documents) it ignores them. But my understanding was that the <Report package> rather was suppose to work more or less like <Master document>.

What am I missing  here?


General Board / Re: How to find hidden label?
« on: March 26, 2015, 07:10:44 pm »
Thank you.

I can't believe I didn't see that myself... I want to believe it's a new feature in EA 12 (been using EA 11 until yesterday), to feel better. But I guess I just have been blind, or fooled by that there is no Hide label when the label is visible.

So, thank you both for taking the time to answer this obvious question!

General Board / Re: How to find hidden label?
« on: March 26, 2015, 01:42:48 am »
Thanks for the help, alas this isn't the way.

The label is connected to the pin, and not the connector. So you don't get access to it thorugh this menu.

General Board / How to find hidden label?
« on: March 25, 2015, 11:22:57 pm »
It is possible to hide labels (such as name of Action pins) by rightclicking on them. But how do you make them visible again?

Thanks for the help!

General Board / Don't show type of action and actionpin
« on: March 25, 2015, 11:05:39 pm »

When using Action elements and Action pins EA show the name of the element/pin as Name:NameOfType. Is it possible to not show the name of the type? I would only like to see the name of the actual action or pin.

(Using alias don't help, EA only replace the name before the :, and still show the Type name.)

It would help a lot to declutter the digrams! Thanks!

General Board / Re: How to create Model Validation Rules
« on: March 10, 2014, 10:51:33 pm »
At least for me I couldn't find the relevant chapters very easily, since there is no reference from the pages about validation to the chapter explaining custom rules. Clicking on the help-button in the Model Validation dialog only show information about the built-in UML validation. It does mention that "You can define additional rules from any additional Add-Ins", but there is no reference to where you can get more information.

So for future reference and readers, the relevant part is hidden in the Add-in chapters, in Model Validation Broadcasts:

And here is the example, mentioned by Geert:

There is also information about validation in the MDG-chapters. Here it is explained how to create sets of rules in your MDG:

General Board / Re: MDG-Technology - TaggedValue - New Stereotype
« on: February 19, 2014, 07:54:06 pm »
To add taggedvalues to stereotypes created in profiles/MDG:

In the toolbox for Profiles there is a Relationship called Tagged value - (it's an association with taggedvalue as stereotype). Use that to connect Groesse to Enheit. Name the targetEnd "Enheit".

If it works you will see the TV Enheit when you create a new instance of your steroetype Groesse, and you will be able to click the selectbutton to select a enheit-element. Note that the taggedvalue from the profile will not be grouped in the "TaggedValue" page in the element, but is goruped on a page that have the same name as your profile.

Note: Do not name the relationship as such, only the targetEnd. There is a bug in EA which can mess things up if the relationship is named.

Good luck,

General Board / Re: MDG-Technology - TaggedValue - New Stereotype
« on: February 15, 2014, 01:18:11 am »
In your profile, have you created a association (stereotyped: TaggedValue) from "Groesse" to "Einheit"?

Make sure you do not name the association, but only name the target-end to "Einheit".


General Board / Re: Bulk change of relationships
« on: February 15, 2014, 01:42:53 am »
Might not be as neat, but if SQL is too daring - why don't script it?

I have found it very useful to have a basic script that can run through a complete model or certain package and apply some kind of a fix on each element/connector matching some criteria.

If it's a one-time thing the speed of the script dosn't feel like such a big deal.

General Board / Re: Can I exclude a diagram from the rtf documenta
« on: August 24, 2013, 12:29:16 am »
Cheers Helmut!

Thanks for the suggestion. :)

I missed it since it just said (MEMO) for the StyleEx column so they looked the same. Didn't think of looking into that further.

I got the Scripting EA book, and I probably should have bought the DB-book at the same time.

Many thanks!

General Board / Re: Can I exclude a diagram from the rtf documenta
« on: August 23, 2013, 11:30:48 pm »
Follow up question: Where is the property Exclude image from RTF saved in the database or accessable through the API?


General Board / Re: Include a table/matrix in diagram
« on: May 23, 2013, 09:03:14 pm »
Regarding creation of a matrix, Sparx have responded:

"The Swimlane matrix is unrelated to the swimlanes (despite being in the same dialog). So the automation support is only for the swimlanes not the matrix.

I will submit this internally as a feature request. "

General Board / Re: Include a table/matrix in diagram
« on: May 21, 2013, 05:07:14 pm »
I finally did manage something.

Is there anyway to generate tables in notes? I noticed that it parsed some richtext tags like <b>, why I tried, to no avail, a html table.

For the moment I solved it by calculating the width of the longest string for each column and then add the right amount if blankspace to every other string to get even columns. It feels like an ugly way to do it, but at least it looks like a table.

But this "solution" requires the usage of a monospace font like courier... so my followup question is: Is it possible to set the font of an element by script? In the reference it seems that it's only possible to change color and borders.

Pages: [1] 2 3 ... 5