Category Solids and parts, Object ProSolid

Function ProSolidInit


DEPRECATED: Since Creo 3
SUPERSEDED BY: ProSolidMdlnameInit
Description
Note: This function is deprecated Use ProSolidMdlnameInit instead. Note: This function accepts only ProType values which are listed in ProMdlType. Passing any other values may result in unpredictable behavior. Initializes the ProSolid handle.
Replacement in Object TOOLKIT: wfcWSession::GetSolid
Synopsis
#include <ProSolid.h>
ProErrorProSolidInit(
ProName name
/* (In)
The solid name
*/
ProType type
/* (In)
The solid type
*/
ProSolid* p_handle
/* (Out)
The handle to initialize
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully initialized the handle.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.

Manual References:

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