Category Cabling, Category Assembly, Object ProAssembly

Function ProAssemblyHarnessesCollect


Description
Retrieves the array of harnesses for specified assembly and its subassemblies.
Replacement in Object TOOLKIT: wfcWAssembly::GetHarnesses
Synopsis
#include <ProCabling.h>
ProErrorProAssemblyHarnessesCollect(
ProAssembly asm_mdl
/* (In)
Handle of connector's assembly.
*/
ProHarness** p_harness
/* (Out)
ProArray of harnesses. Function allocates memory for this argument. User must free it with ProArrayFree.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved.
PRO_TK_BAD_INPUTSOne or more of the arguments was invalid.
PRO_TK_E_NOT_FOUNDHarness not found in assembly.
PRO_TK_GENERAL_ERROROther errors.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Production Applications: Cabling: Finding a Harness
  3. Production Applications: Cabling: Finding a Harness

Sample Code References:

  1. pt_examples ( UtilCable.c )