Category Creo Parametric fundamentals, Object ProMdl

Function ProMdlUnitsCollect


Description
Retrieves the units available to the model.
Replacement in Object TOOLKIT: pfcSolid::ListUnits
Synopsis
#include <ProMdlUnits.h>
ProErrorProMdlUnitsCollect(
ProMdl mdl
/* (In)
The model handle.
*/
ProUnitType type
/* (In)
The type of unit to retrieve.
*/
ProUnititem** units
/* (Out)
ProArray of units. Free this array using ProArrayFree().
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more arguments was invalid.

Manual References:

  1. Core: Solids, Parts, and Materials: Solid Units
  2. Core: Solids, Parts, and Materials: Solid Units