| TreeAge Pro ApplicationObj Overview | ApplicationObj Overview TreeAge Pro - Table of Contents TreeAge Pro Interactive - Table of Contents Documentation Home TreeAge Website Home |
Notes
This object provides Excel/COM module users scripting/automation access to the TreeAge Pro application.
With the ApplicationObj, you can access tree, graph, and other objects in order to update models and run/output analyses.
It is highly recommended that you open a single TreeAge Pro application window when running scripts using this object.
Instantiating an ApplicationObj will select the TreeAge Pro application window that was opened first, but this can cause confusion when multiple windows are open.
Methods
Document access methods getTreeObj Get a tree object getInfluenceDiagramObj Get an influence diagram object getGraphObj Get a graph object getMonteOutput Get a Monte Carlo output object File methods topDocClose Close top TreeAge Pro document with option to save topDocSaveAs Save top TreeAge Pro document as a specified filename topDocFileName Retrieves the filename properties of the top document Miscellaneous methods (moved from CurrentTree) doScriptFile Run a saved text file containing TreeAgeScript commands. doScriptCommand Run one or more TreeAgeScript commands. treeFromOutline Convert a text outline to a tree.