Category Creating import and custom geometry, Object ProImportfeat

Function ProImportfeatCreate


Description
Creates a new import feature in the solid.
Synopsis
#include <ProImportfeat.h>
ProErrorProImportfeatCreate(
ProSolid p_solid
/* (In)
The pointer to the solid (part). Assembly case is not supported.
*/
ProIntfDataSource* data_source
/* (In)
The source of data from which to create the import feature.
*/
ProCsys p_csys
/* (In)
The pointer to a reference coordinate system. If this is NULL, the function uses the default coordinate system.
*/
ProImportfeatAttr* p_attributes
/* (In)
The attributes for creation of the new import feature. If this pointer is NULL, the function uses the default attributes.
*/
ProFeature* p_feat_handle
/* (Out)
The handle to the new import feature.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully created the new import feature.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
PRO_TK_NO_LICENSELicense check failure.
PRO_TK_INVALID_FILEThe model file doesn't have correct format. PRO_TK_UNSUPPORTED- Creo Parametric does not support import of the indicated file.

Manual References:

  1. Interface: Importing Features: Creating Import Features from Files
  2. Interface: Importing Features: Creating Import Features from Files
  3. Interface: Importing Features: Adding Edges
  4. Interface: Importing Features: Creating Features from the Interface Data
  5. 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 )