Category Cabling, Object ProCable

Function ProCableByNameGet


Description
Returns the cable handle, given its name
Synopsis
#include <ProCabling.h>
ProErrorProCableByNameGet(
ProHarness p_harness
/* (In)
The cabling harness.
*/
ProName name
/* (In)
The name.
*/
ProCable* p_cable
/* (Out)
The handle of cable.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully initialized the cable.
PRO_TK_BAD_INPUTSOne or more of the arguments was invalid.
PRO_TK_E_NOT_FOUNDThe function failed to find the cable.
PRO_TK_GENERAL_ERRORThe function failed.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Production Applications: Cabling: Cable Identifiers and Types
  3. Production Applications: Cabling: Cable Identifiers and Types

Sample Code References:

  1. pt_examples ( UtilCable.c )
  2. pt_examples ( UtilCable.c )
  3. pt_examples ( UtilCable.c )
  4. pt_examples ( UtilCable.c )