Category Creating import and custom geometry, Object ProImportfeat

Function ProImportfeatItemIdToUserId


Description
Converts an item_id to a user_id.
Replacement in Object TOOLKIT: wfcWFeature::GetUserIds
Synopsis
#include <ProImportfeat.h>
ProErrorProImportfeatItemIdToUserId(
ProFeature* p_feat_handle
/* (In)
The handle of the import feature
*/
int item_id
/* (In)
The identifier of the geometry item
*/
ProType item_type
/* (In)
The type of geometry item (PRO_SURFACE, PRO_EDGE or PRO_QUILT)
*/
int** user_id_pro_array
/* (Out)
The ProArray of user identifiers
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully converted the item_id to a user_id.
PRO_TK_E_NOT_FOUNDThe user identifiers was not found.
PRO_TK_INVALID_TYPEYou specified an invalid type of geometry item.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.

Manual References:

  1. Interface: Importing Features: Import Feature Properties
  2. Interface: Importing Features: Import Feature Properties

Sample Code References:

  1. pt_examples ( TestImportfeat.c )