Category Cabling, Category Assembly, Object ProAssembly

Function ProAssemblyConnectorsGet


Description
Returns list of connectors in the assembly.
Replacement in Object TOOLKIT: wfcWAssembly::GetConnectors
Synopsis
#include <ProCabling.h>
ProErrorProAssemblyConnectorsGet(
ProAssembly assy
/* (In)
The handle of cabling assembly.
*/
ProConnector** p_cons
/* (Out)
Pointer to ProArray of logical connectors. The function allocates memory for these arguments. To free it, call the function ProArrayFree.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved parameters.
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: Finding Harness Connectors

Sample Code References:

  1. pt_examples ( UtilCable.c )
  2. pt_examples ( UtilCable.c )