| TreeObj - Object Overview TreeAge Pro - Table of Contents TreeAge Pro Interactive - Table of Contents Documentation Home TreeAge Website Home |
| Syntax: | Function SensitivityTwo (saParams1 as Object, saParams2 as Object) as Object | |
| Description: | This method runs a 2-way sensitivity analysis at the currently-selected node. | |
| Return value: | Returns a SensAnTwoOutput object. | |
| Remarks: | The parameters of the analysis are input by filling in the properties of two SensAnParams different objects which are passed in to this method. To run a Net Benefits two-way sensitivity analysis, use the TreeObj method SensitivityTwoNetBen. The value of lastError is set by this method. If it is zero, the analysis succeeded; otherwise, it will be an error code. Also, the "valid" property of the returned object will be set to false if any error occurs. Also, this method sets the calcTime property to the number of milliseconds required to perform the analysis. | |
| Sample code: | Dim saParams1 as New SensAnParams, saParams2 as New SensAnParams | |
| See also: | SensAnTwoOutput SensAnParams SensitivityTwoNetBen lastError Error codes calcTime |