|
MeasureConvertMass Method
|
Converts a mass from one unit of measurement to another.
Namespace:
CADSharpTools.SOLIDWORKS
Assembly:
CADSharpTools.PDM (in CADSharpTools.PDM.dll) Version: 1.4.16.0 (1.4.16)
Syntaxpublic static double ConvertMass(
swUnitsMassPropMass_e from,
swUnitsMassPropMass_e to,
double value
)
Public Shared Function ConvertMass (
from As swUnitsMassPropMass_e,
to As swUnitsMassPropMass_e,
value As Double
) As Double
Parameters
- from
- Type: swUnitsMassPropMass_e
Source unit. - to
- Type: swUnitsMassPropMass_e
Target unit. - value
- Type: SystemDouble
value of the measurement in the source unit.
Return Value
Type:
DoubleConverted value in the target unit.
ExceptionsException | Condition |
---|
[!:CADSharpTools.Commons.CADSharpToolsPDMException] | Thrown when there is an incomplete implementation. |
See Also