Category Cabling, Object ProCable

Function ProCableTypeGet


Description
Returns the cable type (normal cable, wire, conductor or bundle)
Synopsis
#include <ProCabling.h>
ProErrorProCableTypeGet(
ProCable* p_cable
/* (In)
The handle of cable.
*/
ProCableType* p_type
/* (Out)
The cable's type.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved type.
PRO_TK_BAD_INPUTSOne or more of the arguments was invalid.
PRO_TK_INVALID_TYPEInvalid cable type. PRO_TK_GENERAL_ERROR- Other error.

Manual References:

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

Sample Code References:

  1. pt_examples ( UtilCable.c )