Function ProMdlUnitsystemCreate
Description
Creates a new system of units in the model.
Replacement in Object TOOLKIT:
Synopsis
#include <ProMdlUnits.h>
ProMdlUnitsystemCreate
(
ProMdl mdl
/* (In)
The model handle.
*/
/* (In)
The type of the new unit system.
*/
ProName name
/* (In)
The name of the new unit system.
*/
/* (In)
The units for the new system. Should include at most one occurrence of each basic unit type. If a unit of a basic type is missing then a corresponding one is taken from the standard system 'Creo Parametric Default'.
*/
ProUnitsystem* new_system
/* (Out)
The new system of units in the model. May be NULL.
*/
)
Returns
The function succeeded.
One or more arguments was invalid.
The units argument contains multiple units for a type.
Sample Code References
User Guide References
Est-ce que cela a été utile ?