Category Assembly, Object ProAsmcomp

Function ProAsmcompTypeSet


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

Manual References:

  1. Assembly: Basic Assembly Access: Modifying Component Properties
  2. Assembly: Basic Assembly Access: Modifying Component Properties
  3. Assembly: Assembling Components: Attributes

Sample Code References:

  1. pt_examples ( TestAsm.c )