Description | ||||||||||||||
Creates a manufacturing object. Note: In Creo 3 this function does not support names longer than 31 characters. It will return PRO_TK_BAD_INPUTS for longer names. The support for ProMdlName will be added in a future release. | ||||||||||||||
Synopsis | ||||||||||||||
#include <ProMfg.h> | ||||||||||||||
ProError | ProMfgMdlCreate | ( | ||||||||||||
ProName name | ||||||||||||||
/* (In) | ||||||||||||||
The name of the manufacturing object. | ||||||||||||||
*/ | ||||||||||||||
ProMfgType sub_type | ||||||||||||||
/* (In) | ||||||||||||||
The manufacturing subtype defined by the enum ProMfgType. | ||||||||||||||
*/ | ||||||||||||||
ProMdl model | ||||||||||||||
/* (In) | ||||||||||||||
The reference model prompted for during creation of the manufacturing object. For part machining, this should be the design part. For sheet metal manufacturing, this should be the sheet metal workpiece. For all other types, this argument is ignored. | ||||||||||||||
*/ | ||||||||||||||
ProMfg* p_mfg | ||||||||||||||
/* (Out) | ||||||||||||||
The newly created manufacturing object. | ||||||||||||||
*/ | ||||||||||||||
) | ||||||||||||||
Returns | ||||||||||||||
|