API Documentation > Cabling > Object ProCable > Function ProCableHarnessesGet
Function ProCableHarnessesGet
Description
Retrieves the harnesses in the assembly that contain the given cable.
Synopsis
#include <ProCabling.h>
ProCableHarnessesGet
(
/* (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
The function successfully retrieved harnesses.
One or more of the arguments was invalid.
PRO_TK_NOT_FOUND
No harnesses were found.
Other error.
Sample Code References
User Guide References
Was this helpful?