Function ProUnitCreate
Description
Replacement in Object TOOLKIT:
Synopsis
#include <ProMdlUnits.h>
ProUnitCreate
(
ProMdl mdl
/* (In)
The model handle.
*/
ProName unit_name
/* (In)
The unit name.
*/
ProUnitConversion* conversion
/* (In)
The conversion factor for the unit.
*/
ProName ref_unit
/* (In)
The reference unit for the unit.
*/
ProUnititem* new_unit
/* (Out)
The new unit handle. May be NULL.
*/
)
Returns
The function succeeded.
Model is in read-only state.
One or more arguments was invalid.
The reference unit was not found in the model.
User Guide References
Was this helpful?