Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: DASHBY88 on February 02, 2024, 02:24:31 am
-
Firstly I must apologise for not having any images to provide aid.
I have an interesting issue if I run my template on a package using the "Generate Documentation" UI I get the correct generated output if I call the template programatically using the command;
docgen.DocumentPackage 30718, 0, "templateName"
Then the Template Fragment appears not to be called, the fragment calls a Document Script documentDetails(#PACKAGEID#)
The template;
package>
1.1 {Pkg.Name}
{Pkg.Notes}
diagram >
< diagram
element >
attribute >
< attribute
< element
{Template - f_Detail}
< package
UPDATE:
If I remove the Template fragment and just process the package elements within the Template I get the same result, in other words, no output of the package elements when called using a script.