| Description | |||||||||||||||||
| Creates a new Creo Parametric object of the specified type, and initializes the ProSolid handle. Note: In Creo 3 this function does not support names longer than 31 characters. It will return PRO_TK_LINE_TOO_LONG for longer names. The support for ProMdlName will be added in a future release. | |||||||||||||||||
| Replacement in Object TOOLKIT: | pfcBaseSession::CreatePart | ||||||||||||||||
| pfcBaseSession::CreateAssembly | |||||||||||||||||
| Synopsis | |||||||||||||||||
| #include <ProSolid.h> | |||||||||||||||||
| ProError | ProSolidMdlnameCreate | ( | |||||||||||||||
| ProMdlName name | |||||||||||||||||
| /* (In) | |||||||||||||||||
| The name of the new object | |||||||||||||||||
| */ | |||||||||||||||||
| ProMdlfileType type | |||||||||||||||||
| /* (In) | |||||||||||||||||
| The solid type (PRO_PART or PRO_ASSEMBLY) | |||||||||||||||||
| */ | |||||||||||||||||
| ProSolid* p_handle | |||||||||||||||||
| /* (Out) | |||||||||||||||||
| The handle to initialize | |||||||||||||||||
| */ | |||||||||||||||||
| ) | |||||||||||||||||
| Returns | |||||||||||||||||
|
|||||||||||||||||