Category Cabling, Object ProCable

Function ProCableThruLocationRoute


Description
Finds or creates a cable location feature, and routes cables through it
Synopsis
#include <ProCabling.h>
ProErrorProCableThruLocationRoute(
ProRouting cable_route_data
/* (In)
The cable routing data required for subsequent
*/
ProCablelocationref ref
/* (In)
The reference used for the routing, obtained from ProCablelocationrefAlloc().
*/
ProCablelocation* p_location
/* (Out)
The location.
*/
ProCablelocation* second_axis_location
/* (Out)
If routing through an axis, the route generates two locations. Otherwise,this is NULL.
*/
)
Returns
PRO_TK_NO_ERRORThe function routed the cable.
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
  3. Production Applications: Cabling: Cable Routing

Sample Code References:

  1. pt_examples ( UtilCable.c )