getDocScales
Use this method to get the Scaling values for the currently active Document. If no scale is set for the document this returns an empty array. The structure of the scale object is determined by the host application and not RxCore.
Syntax
RxCore.getDocScales();
Parameters
- NA — This method does not have any parameters.
Returns
scalesOptions: array — The array holds an object that is a set of scale and measurement values applied to measurement
Example
scalesOptions = {
dimPrecision : 2,
imperialDenominator : 1,
imperialNumerator : 1,
isGlobal : true,
isSelected : true,
label : "1 Millimeter : 1 Millimeter",
metric : "0",
metricUnit : "Millimeter",
pageRanges : Array[1, 2],
preciseValue : 1,
value : "1:1",
}