Category Cabling, Object ProCable

Function ProCableHarnessesGet


Description
Retrieves the harnesses in the assembly that contain the given cable.
Synopsis
#include <ProCabling.h>
ProErrorProCableHarnessesGet(
ProAssembly assy
/* (In)
The assembly handle
*/
ProName w_cable_name
/* (In)
The cable's name.
*/
ProHarness** p_harnesses
/* (Out)
ProArray of harnesses. Function allocates memory for this argument. User must free memory by ProArrayFree
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved harnesses.
PRO_TK_BAD_INPUTSOne or more of the arguments was invalid.
PRO_TK_NOT_FOUNDNo harnesses were found.
PRO_TK_GENERAL_ERROROther error.

Manual References:

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

Sample Code References:

  1. pt_examples ( UtilCable.c )