| TreeObj - Object Overview TreeAge Pro - Table of Contents TreeAge Pro Interactive - Table of Contents Documentation Home TreeAge Website Home |
| Syntax: | Function Sensitivity (saParams as Object) as Object | |
| Description: | This method runs a sensitivity analysis at the currently-selected node. | |
| Return value: | Returns a SensAnOutput object. | |
| Remarks: | The parameters of the analysis are input by filling in
the properties of the SensAnParams object
which is passed in to this method.
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 saParams as New SensAnParams, saOutput as SensAnOutput Dim err as Long, grph as GraphObj, htmlStr as String '--- prepare the analysis parameters | |
| See also: | SensAnOutput SensAnParams lastError Error codes calcTime |