Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Hurra on July 17, 2017, 06:18:44 pm

Title: Generate documentation: Tables and shapescripts
Post by: Hurra on July 17, 2017, 06:18:44 pm
Hello!

I have an output to show connections to/from the current selected element as follows:

Code: [Select]
package >
HEADING 1 {Pkg.Name}
element >
HEADING 2 {Element.Name}
{Element.Notes}

connector >
source >
element >
{Element.Name}
< element
< source
{Connector.Name}
target >
element >
{Element.Name}
< element
< target
< connector
< element
< package


However, I would like to show it in a table:
SourceConnectionTarget
Source #1Connection #1Target #1




The problem is though that the information is in different section-contents (or whatever it is called, i.e. connector >, source >). I can't get all the information in the table. Is there a way around this?

Second question:
Is there a way to include the shapescript of elements/stereotypes? I found insert image and similar, but since the shapescript is embedded with the element/stereotype I thought it would be easy to show the image/shapescript. I do not find anything. Someone knows something about this?

Cheers!
Title: Re: Generate documentation: Tables and shapescripts
Post by: Hurra on August 07, 2017, 11:18:22 pm
I solved the element image with pasting the image in a linked document. I did not manage to solve the table issue.