Category Solids and parts, Object ProSolid

Function ProSolidCreate


DEPRECATED: Since Creo 3
SUPERSEDED BY: ProSolidMdlnameCreate
Description
Note: This function is deprecated Use ProSolidMdlnameCreate instead. Creates a new Creo Parametric object of the specified type, and initializes the ProSolid handle.
Synopsis
#include <ProSolid.h>
ProErrorProSolidCreate(
ProName name
/* (In)
The name of the new object
*/
ProType type
/* (In)
The solid type (PRO_PART or PRO_ASSEMBLY)
*/
ProSolid* p_handle
/* (Out)
The handle to initialize
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully created the new object.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
PRO_TK_E_FOUNDAn object of the specified name and type already exists.
PRO_TK_GENERAL_ERRORThe object could not be created.
PRO_TK_LINE_TOO_LONGName length of the new object is more than 31 chars.

Manual References:

  1. Working with Multi-CAD Models Using Creo Unite: Superseded Functions
  2. Technical Summary of Changes for Creo 4.0 F000: Solids