| DEPRECATED: | Since Creo 3 |
| SUPERSEDED BY: | ProMfgMdlCreate |
| Description |
| Note: This function is deprecated Use ProMfgMdlCreate instead. Creates a manufacturing object. |
| Synopsis |
| #include <ProMfg.h> |
| ProError | ProMfgCreate | ( |
| 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_ERROR | | The function successfully created the manufacturing object. |
| PRO_TK_E_FOUND | | A manufacturing object with the specified name already exists. |
| PRO_TK_UNSUPPORTED | | The function did not create the manufacturing object with subtype PRO_MFGTYPE_MACH_PART. |
| Other | | One or more of the input arguments are invalid, so the function did not create the manufacturing object. |
|