API 설명서 > Creo Parametric fundamentals > Object ProUnit > Function ProUnitConversionCalculate
Function ProUnitConversionCalculate
Description
This function calculates conversion factors from one ProUnititem to another; these can belong to the same model or two different models.
Replacement in Object TOOLKIT:
Synopsis
#include <ProMdlUnits.h>
ProUnitConversionCalculate
(
ProUnititem * unit_from
/* (In)
The unit from which to convert.
*/
ProUnititem * unit_to
/* (In)
The unit to convert to.
*/
ProUnitConversion * conversion
/* (Out)
The conversion factor. If it is NULL, the function will just check if unit conversion is possible.
*/
)
Returns
The function succeeded.
One or more arguments was invalid.
Conversion failed.
User Guide References
도움이 되셨나요?