Category Cabling, Object ProCable

Function ProCableParameterGet


Description
Retrieves one parameter for the specified cable. The cable parameter must be single valued. Requesting a multi-valued parameter will return PRO_TK_E_NOT_FOUND.
Synopsis
#include <ProCabling.h>
ProErrorProCableParameterGet(
ProAssembly assy
/* (In)
The assembly
*/
ProCable* p_cable
/* (In)
The cable
*/
ProName param_name
/* (In)
The parameter name
*/
ProCableparam* p_param
/* (Out)
The handle of cable parameter
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the parameter.
PRO_TK_E_NOT_FOUNDcable or parameter with this name does not exist, or the parameter requested is multi-valued.
PRO_TK_BAD_INPUTSOne or more of the arguments was invalid.
PRO_TK_GENERAL_ERROROther error

Manual References:

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

Sample Code References:

  1. pt_examples ( UtilCable.c )