Category Creating import and custom geometry, Object ProIntf

Function ProIntfDataSourceInit


Description
Initializes a ProIntfDataSource structure.
Synopsis
#include <ProIntfData.h>
ProErrorProIntfDataSourceInit(
ProIntfType intf_type
/* (In)
The type of interface.
*/
void* p_source
/* (In)
The pointer to the data source. The type of the data source depends on the type of interface. The macro PRO_INTF_TYPE_TO_INTF_DATA_SOURCE_TYPE and function ProIntfTypeToIntfDataSourceType() provide information about the connection between the type of data source and type of interface.
*/
ProIntfDataSource* p_pro_intf_data_source
/* (Out)
The pointer to the ProIntfDataSource to be initialized.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully initialized the ProIntfDataSource.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
See Also
ProIntfTypeToIntfDataSourceType
ProIntfDataSourceClean

Manual References:

  1. Interface: Importing Features: Creating Import Features from Files
  2. Interface: Importing Features: Creating Import Features from Files
  3. Interface: Importing Features: Creating Features from the Interface Data
  4. Interface: Importing Features: Creating Features from the Interface Data

Sample Code References:

  1. pt_examples ( TestImportfeat.c )
  2. pt_userguide ( UgImportfeatCreate.c )
  3. pt_userguide ( UgImportfeatCreate.c )