Category Assembly, Object ProAsmcomp

Function ProAsmcompTypeGet


Description
Retrieves the type of the specified component.
Replacement in Object TOOLKIT: pfcComponentFeat::CompType
Synopsis
#include <ProAsmcomp.h>
ProErrorProAsmcompTypeGet(
ProAsmcomp* comp
/* (In)
The handle to the component feature
*/
ProAssembly top_assem
/* (In)
The handle to the top-level assembly
*/
ProAsmcompType* r_type
/* (Out)
The component type
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.

Manual References:

  1. Assembly: Basic Assembly Access: Properties Related to Component Purpose
  2. Assembly: Basic Assembly Access: Properties Related to Component Purpose
  3. Assembly: Assembling Components: Attributes
  4. Production Applications: Manufacturing: Traversing Manufacturing Components

Sample Code References:

  1. pt_examples ( TestAsm.c )
  2. pt_mfg_proctable ( PTMfgProcTable.c )