| TreeAge Pro Interactive TreeObj Overview | TreeObj Overview TreeAge Pro Interactive - Table of Contents TreeAge Pro - Table of Contents TreeAge Pro - TreeObj Object Documentation Home TreeAge Website Home |
Methods
File operations OpenFile Opens a tree file OpenPackage Opens a packaged tree file Associate Associates a file with the object -- the file is deleted when the object is destroyed IsValid Ensures that the tree is usable SaveGraphic Saves a pictorial representation of the tree GetImageBinary Returns an image (GIF only currently) in binary format for display in a browser Node operations SelectRoot Selects the root node of the tree SelectRelativeNode Selects a node related to the current selection SelectNodeObj Selects the node from a previously-created NodeObj object GetNodeObj Retrieves a NodeObj at the selected node Analysis methods RollBack Turns roll-back on or off Sensitivity Runs a 1-way sensitivity analysis SensitivityTwo Runs a 2-way sensitivity analysis Tornado Runs a tornado sensitivity analysis Markov Runs a Markov analysis MonteCarlo Runs a Monte Carlo simulation CostEff Runs a baseline cost-effectiveness analysis ProbDist Calculates the risk profile OverUnder Calculates the probability of being over a given target Miscellaneous methods SetCalcMethod Sets the active calculation method GetNumForm Retrieves a NumFormObj which describes the numeric formatting for the tree SetNumForm Sets the numeric formatting for the tree from a NumFormObj GetTable Retrieves a TableObj to enable manipulations of table values SetDatabasePassword Set password for given database [v1.15, Jan-06] Properties
Calculation properties calcMethod Retrieves the current calculation method isCE Flag indicating if the tree is a cost-effectiveness tree currentPayoff Retrieves the current payoff (for simple trees) costPayoff Retrieves the payoff being used for costs effPayoff Retrieves the payoff being used for effectiveness values benefitPayoff Retrieves the payoff being used for benefits rollBackOn Flag indicating if roll-back has been turned on calcTime Retrieves the time required for the last analysis operation Graphic properties graphicFileWidth Gets the width of the last file saved in SaveGraphic graphicFileHeight Gets the height of the last file saved in SaveGraphic imageBinarySize Gets the size of the buffered image in bytes Miscellaneous properties selection Retrieves the name of the currently-selected node fileName The full path of the tree, as passed in to OpenFile eventFlags Indicates which callback events are requested lastError The error code of the last analysis message Retrieves a status message (for debugging)