Category Manufacturing, Object ProMfg

Function ProMfgCreate


DEPRECATED: Since Creo 3
SUPERSEDED BY: ProMfgMdlCreate
Description
Note: This function is deprecated Use ProMfgMdlCreate instead. Creates a manufacturing object.
Synopsis
#include <ProMfg.h>
ProErrorProMfgCreate(
ProName name
/* (In)
The name of the manufacturing object.
*/
ProMfgType sub_type
/* (In)
The manufacturing subtype defined by the enum ProMfgType.
*/
ProName model_name
/* (In)
The name of 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
PRO_TK_NO_ERRORThe function successfully created the manufacturing object.
PRO_TK_E_FOUNDA manufacturing object with the specified name already exists.
PRO_TK_UNSUPPORTEDThe function did not create the manufacturing object with subtype PRO_MFGTYPE_MACH_PART.
OtherOne or more of the input arguments are invalid, so the function did not create the manufacturing object.

Manual References:

  1. Working with Multi-CAD Models Using Creo Unite: Superseded Functions
  2. Technical Summary of Changes for Creo 4.0 F000: Updates to Error Types
  3. Technical Summary of Changes for Creo 4.0 F000: Manufacturing