Category Creating import and custom geometry, Object ProImportfeat

Function ProImportfeatUserIdToItemId


Description
Converts a user_id to an item_id.
Replacement in Object TOOLKIT: wfcWFeature::GetItemIds
Synopsis
#include <ProImportfeat.h>
ProErrorProImportfeatUserIdToItemId(
ProFeature* p_feat_handle
/* (In)
The handle of the import feature
*/
int user_id
/* (In)
The user identifier
*/
ProType item_type
/* (In)
The type of geometry item (PRO_SURFACE, PRO_EDGE or PRO_QUILT)
*/
int** item_id_pro_array
/* (Out)
The ProArray of identifiers of geometry items. You must preallocate this array using the function ProArrayAlloc().
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully converted the user_id to an item_id.
PRO_TK_E_NOT_FOUNDThe identifiers of the geometry items were 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 )