DimensionTree::getDisambiguationTreeDepth Method [AX 2012]
Determines the level at which two trees can be disambiguated.
Syntax
client server private static int getDisambiguationTreeDepth(
DimensionTreeImage _treeImage1,
DimensionTreeImage _treeImage2,
int _sameStructureDepth,
boolean _displayInfolog)
Run On
Called
Parameters
- _treeImage1
Type: DimensionTreeImage Class
The image of the first tree to compare.
- _treeImage2
Type: DimensionTreeImage Class
The image of the second tree to compare.
- _sameStructureDepth
Type: int
The number of levels to compare.
- _displayInfolog
Type: boolean
A Boolean value that indicates whether the Infolog messages should be displayed.
Return Value
Type: int
The disambiguation level.
Remarks
The activeTreeImage and draftTreeImage class variables must be initialized as these define the trees. 0 is retrieved if the trees are ambiguous. The disambiguation level will be less than or equal to the same structure depth.