Attached is a macro that outputs an ASCII representation of the model tree.
I use it mainly for documenting models, hence the specific line formatting.
ATM this is a very alpha-state macro thus the ASCII tree is just output to the Report view (and you need to copy-paste it manually for further usage).
Usage : Select in the Tree view the item(s) that you want to get tree as ASCII. If you have several items selected, the macro will consider they are all at the same level (top one) of the output tree.
Typically if you want the whole tree of a document, you have to select all the topmost objects then run the macro.
I think if this macro has interest for others, I could improve it so the ASCII output can be (not exclusive list) :
- Copied to clipboard
- Saved to an arbitrary file on the user's computer
- Recorded in a text file that is embedded in the document (this is available feature in the latest 0.19 releases)