Object ProCavitylayout

Function ProCavitylayoutLeaderCompGet


Description
Given the Cavity Layout handle of an existing layout, gets the leader component of the layout
Synopsis
#include <ProCavitylayout.h>
ProErrorProCavitylayoutLeaderCompGet(
ProCavityLayout cvlayout
/* (In)
Pointer to the layout handle
*/
ProAsmcomppath* leader_comp
/* (Out)
Component path to the leader component
*/
)
Returns
PRO_TK_NO_ERRORThe information is successfully received.
PRO_TK_BAD_INPUTSThe handle has invalid data or not initiated
PRO_TK_E_NOT_FOUNDThe cavity layout corresponding to the handle does not exists.

Sample Code References:

  1. pt_examples ( TestCavityLayout.c )