Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: chan on February 21, 2011, 06:56:03 pm

Title: exclude elements in use case template (RTF)
Post by: chan on February 21, 2011, 06:56:03 pm
In Enterprise Architect 6.5 I made a template for my use cases. The template works fine.

Because of the new features in 8.0 (structured scenarios), i'm examing this new feature with my template. My generated document isn't working anymore.

I need to add the "child element" section. But when I use this, EA generates my template several times in one document. I think this is the recursive function.

Can you turn this recursive off and show only the diagram from the child element?

I have the folowing tree:

Package - 01-01 Uce case
    Element - 01-01 Use case
          Activity (this is generated from the structured scenario)
                  Activity diagram (also fror the structured diagram)
                             Action 1(also from the structured diagram)
                             Action 2 (also from the structured diagram)

When I generat the RTF, the template elemenet shown 3 times. One time for the elemen, one time for the diagram and one tume voor de element of the diagram. My template looks like this:

package >
package element >
< package element
element >
{Element.Name}


Korte omschrijving

{Element.Notes}

Actors

Kijken of we hier de actor kunnen plaatsen...

Condities

constraint >
Conditie      Type conditie
{ElemConstraint.Name}      {ElemConstraint.Type}
< constraint

Gebeurtenissen en acties
scenario >

{ElemScenario.Scenario}
{ElemScenario.Notes}
< scenario



Activity diagram


diagram >
{Diagram.DiagramImg}

< diagram
child elements >
< child elements
< element

< package

Title: Re: exclude elements in use case template (RTF)
Post by: Geert Bellekens on June 05, 2015, 06:56:32 pm
I'm having the same issue now.
Anyone found a solution yet?

Geert