TreeAge Pro Interactive


TreeObj.ProbDist

Notice: Undefined index: Change history in E:\treeage\ObjDocs\code\_see_also.php3 on line 173
v1.1
TreeObj - Object Overview
TreeAge Pro Interactive - Table of Contents

TreeAge Pro - Table of Contents

Documentation Home
TreeAge Website Home
  
Syntax: Function ProbDist ( ) as Object
Description: This method calculates the risk profile (histogram) at the selected node.
Return value:  Returns a ProbDistOutput object.
Remarks:  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 pdOutput as ProbDistOutput
Dim err as Long, grph as GraphObj
...
Set pdOutput = tree.ProbDist
err = tree.lastError

'--- show the graph
Set grph = pdOutput.GetGraph (0, "")
See also: ProbDistOutput
lastError
Error codes
calcTime