Description

Gets or sets the unit conversion factor

Property type

A Double value.  

Syntax

object.ConversionFactor [= value]

The ConversionFactor Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McSpatialCalib.
valueA Double value.

Remarks

The unit conversion factor can be used to convert a value expressed in a spatial calibration using absolute units to a value expressed in meters. This factor can then be used to convert to any other desired units. For instance, to convert to millimeters use value * ConversionFactor * 1000. The conversion factor is a read-only property for spatial calibrations that are expressed in known physical units, which should have the unit specified using the Unit property which will also set the conversion factor. The ConversionFactor can be set for other arbitrary physical units. Specify the Unit as mcsuOther, set the unit name (e.g. Angstroms), optionally set the unit abbreviation, and then set the ConversionFactor correctly for the new unit (e.g. 10e-10 for Angstroms). Note: The ConversionFactor MUST be set AFTER the unit.