Category Cabling, Object ProBundle

Function ProBundleCreate


Description
Creates new bundle in specified harness after finishing the call, now reset the current model back to its status before the call.
Synopsis
#include <ProCabling.h>
ProErrorProBundleCreate(
ProHarness harness
/* (In)
The harness handle
*/
ProSpool* spool
/* (In)
The spool
*/
ProName bundle_name
/* (In)
The bundles name
*/
ProCable* p_cables
/* (In)
The ProArray of cables to add
*/
ProBoolean is_flat
/* (In)
If PRO_B_TRUE, the bundle is flat. If PRO_B_FALSE, the bundle is round.
*/
ProCable* p_bundle
/* (Out)
The created bundle
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully created the new bundle.
PRO_TK_BAD_INPUTSOne or more of the arguments was invalid.
PRO_TK_E_FOUNDBundle already exists.
PRO_TK_E_NOT_FOUNDSpool does not exist.
PRO_TK_GENERAL_ERROROther error.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Production Applications: Cabling: Managing Cables and Bundles
  3. Production Applications: Cabling: Managing Cables and Bundles

Sample Code References:

  1. pt_examples ( UtilCable.c )