Category Solids and parts, Object ProSolid

Function ProSolidMdlnameInit


Description
Initializes the ProSolid handle. Note: In Creo 3 this function does not support names longer than 80 characters. It will return PRO_TK_BAD_INPUTS for longer names. The support for ProMdlName will be added in a future release.
Synopsis
#include <ProSolid.h>
ProErrorProSolidMdlnameInit(
ProMdlName name
/* (In)
The solid name
*/
ProMdlfileType 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: Functions that Support Multi-CAD Assemblies
  2. Working with Multi-CAD Models Using Creo Unite: Superseded Functions
  3. Working with Multi-CAD Models Using Creo Unite: Restrictions on Character Length for Multi-CAD Functions

Sample Code References:

  1. pt_examples ( TestSolid.c )