Category Cabling, Object ProCable

Function ProCableLocationsCollect


Description
Finds the locations for the specified cable or wire
Synopsis
#include <ProCabling.h>
ProErrorProCableLocationsCollect(
ProAssembly assy
/* (In)
The handle to the assembly that contains the cable.
*/
ProCable* p_cable
/* (In)
The cable's handle.
*/
ProCablelocation** p_location_array
/* (Out)
Pointer to ProArray of locations. The function allocates memory for this argument. To free it, call the function ProArrayFree.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully get list of ids.
PRO_TK_BAD_INPUTSOne or more of the arguments was invalid.
PRO_TK_GENERAL_ERROROther errors.

Manual References:

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

Sample Code References:

  1. pt_examples ( UtilCable.c )