Methods to query measure results5 W9 h: F( l' {; l J NX新的测量功能引入,但是在进行JA录制发现无法获取测量的结果,这个显然是官方还没有来得及进行更新API发布。在最小的2007版本系类中增加了相关获取结果的API。! l d9 m' y1 C5 u4 O
现在很容的获取相关对象和结果。
getMeasureElement
The method is for MeasureMaster and it returns MeasureElement for a master measure feature.
getMeasureElementExpressions
The method is for MeasureElement and it returns an array of expression objects for a measure element of a measure feature.
getMeasureElementExpressionsType
The method is for MeasureElement and it returns an array of strings that corresponds to the expression types for a measure element of a measure feature. You should generally use this method in conjunction with getMeasureElementExpressions() to pass along the same index value to find the expression and expression type associated with a MeasureElement.