Author Topic: Name of diagram included in RTF report  (Read 4226 times)

stereotype

  • EA User
  • **
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Name of diagram included in RTF report
« on: January 11, 2021, 11:18:58 pm »
I have a template in EA 15.0 which looks like:

package >
{Pkg.Name}
{Pkg.Notes}

diagram >
element >
{Element.Name} {Element.Notes}
< element
< diagram

child packages >
< child packages

< package

When using this template on a package that contains a diagram, the Name and Notes of all elements in the diagram is included in the RTF report, but the problem is that the name of the diagram is also included in the report, which I didn't expect... If I right-click in the diagram and choose "Hide diagram frame", the report no longer contains the name of the diagram. The diagram frame shouldn't be regarded by the RTF template as an element in the diagram, should it?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13069
  • Karma: +544/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Name of diagram included in RTF report
« Reply #1 on: January 11, 2021, 11:32:12 pm »
That depends.

I believe that in some diagrams, the diagram frame is an actual element.
In that case it seems logical that it should be included in the diagram>element> section.

If you don't want that you can either play with the filters of the template.

You can also try to set it to non printable and see what happens. I'm not exactly sure, but it might just do what you need.

Geert

stereotype

  • EA User
  • **
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: Name of diagram included in RTF report
« Reply #2 on: January 12, 2021, 07:08:50 pm »
Thanks for the help!

For information, the diagram is a SysML 1.3 Requirements diagram, and it seems as if I can't set the diagram frame to non-printable? If I right-click on one of the requirements in the diagram, there is a "Behavior" sub-menu where I can toggle "Printable", but the diagram frame does not seem to be possible to (select and) right-click.

Also tried the exclude filter: in the "Generate Documentation" dialog, under "Exclude filters", I selected "Exclude details for" "Diagram frame" but that didn't help.

I can achieve what I want by selecting "Hide diagram frame" in each diagram, but I have a lot of diagrams...

(I still think it seems strange that the diagram frame should be considered to be an element in the diagram. Intuitively, it feels as if the frame IS the diagram, not an element in it.  :-\)

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: Name of diagram included in RTF report
« Reply #3 on: January 13, 2021, 07:52:32 am »
(I still think it seems strange that the diagram frame should be considered to be an element in the diagram. Intuitively, it feels as if the frame IS the diagram, not an element in it.  :-\)

Question: If you have an IBD with Ports on the diagram frame, who or what owns the Ports?
The Sparx Team
[email protected]

stereotype

  • EA User
  • **
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: Name of diagram included in RTF report
« Reply #4 on: January 13, 2021, 07:50:11 pm »
Quote
Question: If you have an IBD with Ports on the diagram frame, who or what owns the Ports?

Good point...

Anyway, I suppose the Exclude filter should have solved my problem, but it didn't...?