Skip to content
Discussion options

You must be logged in to vote

Hi Marek

thanks for developing this tool! It is useful for post processing of the DNG documents.

Thanks

Is there a way how to get level of the Heading?

The heading level isn't stored anywhere, I imagine this is because if it were saved in artifacts it would have to be updated every time something was added/deleted/moved.

In the DOORS Next UI, the 'section' attribute shows the heading level and I guess it's dynamically generated.

Have a look at the code in dn_simple_modulestructure.py there's example of how to work out the section value by scanning the structure - note you'll have to check this code works as well as you need because I've not done an exhaustive test on it, but it does s…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Markusimus
Comment options

@barny
Comment options

Answer selected by Markusimus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants