Category Solids and parts, Object ProSolid

Function ProPostfixIdToSolid


Description
Retrieves the solid handle, given the postfix identifier.
Replacement in Object TOOLKIT: pfcBaseSession::GetByRelationId
Synopsis
#include <ProSolid.h>
ProErrorProPostfixIdToSolid(
int id
/* (In)
The postfix identifier of the solid
*/
ProSolid* p_handle
/* (Out)
The address of the ProSolid handle
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSThe specified identifier does not correspond to any valid model in session.
PRO_TK_GENERAL_ERRORThere was a general internal failure.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Core: Solids, Parts, and Materials: Solid Postfix Identifiers

Sample Code References:

  1. pt_examples ( TestSolid.c )