Methods to query measure results 3 D# K# Y6 P- n: O5 b% B. _NX新的测量功能引入,但是在进行JA录制发现无法获取测量的结果,这个显然是官方还没有来得及进行更新API发布。在最小的2007版本系类中增加了相关获取结果的API。. S+ B) r: Z, v' g5 l/ I
现在很容的获取相关对象和结果。
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.