Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Screwtape on November 23, 2017, 11:07:23 pm

Title: Adjusting Heading Depth when using Virtual Documents
Post by: Screwtape on November 23, 2017, 11:07:23 pm
Hi!

I'm generating a virtual document using a script with all the necessary sections etc. instead of using a script to generate the whole document.

However, there is one feature when using the script process that I can't find in the virtual document system - that is adjusting heading depth - as was done using the nDepth parameter of say, the DocumentElement method.

When I want to document nested elements etc., it appears that I have to create separate templates if I want to have different heading levels, which is a bit frustrating, as I would need to change the levels of all the subheadings.
(I don't document the nested elements using >>ChildElement entries because that documents all of them using the same template which defeats the point of the virtual document).

Have I missed something, or do I need to create a feature request?

Thanks!
Screwtape
Title: Re: Adjusting Heading Depth when using Virtual Documents
Post by: Geert Bellekens on November 24, 2017, 12:04:28 am
I think you should indeed send in a feature request.

Geert