Category Cabling, Object ProCable

Function ProCableAndConductorsCreate


Description
Creates new cable or wire in specified harness. The type of the cable corresponds to the spool type. It also creates conductors if needed. Required parameters will be created with default values, unless the cable name has been imported from a logical reference, in which case the parameters from the reference are used instead. after finishing the call, now reset the current model back to its status before the call
Synopsis
#include <ProCabling.h>
ProErrorProCableAndConductorsCreate(
ProHarness harness
/* (In)
The handle of harness
*/
ProSpool* spool
/* (In)
The spool handle
*/
ProName cable_name
/* (In)
The cable name
*/
ProBoolean create_conductors
/* (In)
Create Conductors
*/
ProCable* p_cable
/* (Out)
The handle of new cable
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully created the new cable.
PRO_TK_BAD_INPUTSOne or more of the arguments was invalid.
PRO_TK_E_FOUNDCable already exists.
PRO_TK_E_NOT_FOUNDSpool does not exist yet.
PRO_TK_GENERAL_ERROROther error.

Manual References:

  1. Production Applications: Cabling: Managing Cables and Bundles
  2. Production Applications: Cabling: Managing Cables and Bundles