Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: marcelloh on December 28, 2009, 09:54:30 pm
-
I want this as a model document, but I can't figure out how.
Within a package I've got an Use Case Diagram, with use cases and actors drawn on it.
What I want, is the image and then below, which actors (with their notes) play a role in this package.
I can put this in EA, but it is unclear how to get this out.
(And I want them only mentioned once btw!)
-
Marcel,
Do you mean a report with the RTF generator, or in general using the API?
Geert
-
Sorry on a RTF generated report
-
Too bad, can't help in that case.
Geert
-
I'm not really sure but do you know how to create an RTF Template ? If not just read the White Paper for it. In my eyes the template is very simple.
If you have problems with the template i can send you a very simple one.
-
Marcel, I assume you are stating that the Use Cases are contained in the package to be reoprted - the Actors are in an external package - Is that correct?
If so, use the Connectors.source.Element & Connectors.Target.Element to report the related Actors - the filter in the template Document Options can be set by connector to filter to a specific type and direction, but not the destination element type. (i.e. set up filtering to source->Target & UseCase connector Type).
PLease feel free to put in a Feature Request to have an Actors section (same as External Requirements section).
-
@michael :
I'm working with EA for more then 2 years now. I know how to ....
@Dermot :
You are right, it is about external Actors.
and I have done it with Connectors.source.Element
However, I get too much info. This UC is linked to 1 process as well, and strangly enough I get 5 times this link and one time my Actor.
-
I'm looking at document options > element filters
So what is it that I should filter?
It is an Element, but I suppose that if I say show me "Actors" somewhere, my report will only report me Actors.
I looked at the dropdown in the field "search on", and can't find anythis suitable for this filter. I also looked at "Other filters" and can't find it there either.
Some more help on this would be nice.
-
In the RTF editor: File | Document Options | Document Options Tab:
- Connector Direction: (set the direction)
- Exclude Connector Type:
(Exclude all but the UseCase connector)
I hope this clarifies things.