Category Cabling, Object ProCable

Function ProCableLogicalEndsGet


Description
Retrieves logical ends of specified cable
Synopsis
#include <ProCabling.h>
ProErrorProCableLogicalEndsGet(
ProAssembly assy
/* (In)
The assembly
*/
ProCable* p_cable
/* (In)
The handle of cable
*/
ProSelection* log_end_1
/* (Out)
The first logical endpoint allocated by the function.
*/
ProSelection* log_end_2
/* (Out)
The second logical endpoint allocated by the function.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully get parameter.
PRO_TK_BAD_INPUTSOne or more of the arguments was invalid.
PRO_TK_E_NOT_FOUNDone or both ends are not defined.
PRO_TK_GENERAL_ERROROther errors.

Manual References:

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

Sample Code References:

  1. pt_examples ( UtilCable.c )