Category Creo Parametric fundamentals, Object ProMdl

Function ProMdlPrincipalunitsystemGet


Description
Retrieves the principal system of units assigned to the model.
Replacement in Object TOOLKIT: pfcSolid::GetPrincipalUnits
Synopsis
#include <ProMdlUnits.h>
ProErrorProMdlPrincipalunitsystemGet(
ProMdl mdl
/* (In)
The model handle.
*/
ProUnitsystem* principal_system
/* (Out)
The principal system of units for the model.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more arguments was invalid.

Manual References:

  1. Assembly: Data Sharing Features: Accessing Properties of Variant Features
  2. Core: Solids, Parts, and Materials: Solid Units

Sample Code References:

  1. pt_userguide ( UgSolidInfoMass.c )