|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Commands Reference > Tree > WriteTree |
Writes on the file <filename>.<revision>.TREE a representation of the tree structure of the document with the passed <unique_id>. Can be used mainly to check that project structures are correct.
call DBWShell("WriteTree UniqueID FileName Revision Configuration")
UniqueID |
unique id of the document to create the tree of. |
|---|---|
FileName |
filename part of the final filename. Please note any space char in filenames and paths must be replaced by "|" char. |
Revision |
revision part of the final filename. |
Configuration |
configuration part of the final filename. |
If invoked with no parameters, it works on the currently opened document.
If it is a released document, it overwrites the last revision .TREE file for the opened document.
The command should be only used by DBWorks Administrators; the purpose is to align the .TREE structure with the actual opened document structure
If the option
Revision → Approval
Create Structure History for all the documents types
is unchecked, Filename must have .sldasm extension because tree file can be done only for assembly.
WriteActualGrid
WriteActualTree
WriteTree
DBWShell("WriteTree 223 C:\My|Tests\checkTest.sldasm REV1 157")