API 文件集
>
Creo Parametric fundamentals
>
Object ProUnit
> Function ProUnitExpressionGet
Function ProUnitExpressionGet
Description
Returns a user-friendly unit description: the name (i.e. "ksi") for ordinary units and the expression (i.e. N/m^3) for system-generated units.
Replacement in Object TOOLKIT:
pfcUnit::Expression
Synopsis
#include <
ProMdlUnits.h
>
ProError
ProUnitExpressionGet
(
ProUnititem
* unit
/* (In)
The unit item.
*/
ProPath
expression
/* (Out)
The unit expression.
*/
)
Returns
PRO_TK_NO_ERROR
The function succeeded.
PRO_TK_BAD_INPUTS
One or more arguments was invalid.
PRO_TK_E_NOT_FOUND
The unit type was not recognized.
Sample Code References
pt_userguide ( UgMaterial.c )
這是否有幫助?
此網站在啟用 JavaScript 的情況下運作成效最佳