Category
Family table
, Object
ProFaminstance
Function ProFaminstanceAdd
Description
Adds the specified instance to the family table.
Replacement in Object TOOLKIT:
pfcFamilyMember::AddRow
Synopsis
#include <
ProFaminstance.h
>
ProError
ProFaminstanceAdd
(
ProFaminstance
*
p_inst
/* (In)
The instance handle
*/
)
Returns
PRO_TK_NO_ERROR
The function successfully added the instance.
PRO_TK_E_FOUND
The specified instance already exists in the family table.
PRO_TK_GENERAL_ERROR
A general error occurred and the function failed (for example, the generic does not exist in session, or the function could not find the family table).
PRO_TK_ABORT
Operation of adding instance is aborted since the supplied name was already in use.
Manual References:
Core: Family Tables: Operations on Family Table Instances
Core: Family Tables: Operations on Family Table Instances
Technical Summary of Changes for Creo 4.0 F000: Updates to Error Codes for ProFaminstanceAdd() and ProFaminstanceCreate()
Sample Code References:
pt_examples ( TestFamTab.c )
pt_wc_server ( PTWCServerAddInstance.c )