ITK Function Reference

(V10000.1.0.60_20160308.00)
Functions
Teamcenter/PART21 Translator Functions

Functions

PART21PRODUCT_API int OBJIO_PART21_import_files (const char *source_dir, const char *filename, const char *map_file, const char *assortment_file, const char *class_id, logical import_all, logical dry_run)
 

Detailed Description

Function Documentation

PART21PRODUCT_API int OBJIO_PART21_import_files ( const char *  source_dir,
const char *  filename,
const char *  map_file,
const char *  assortment_file,
const char *  class_id,
logical  import_all,
logical  dry_run 
)

Imports data from the specified p21 files which contains manufacturing cutting tool data

The function returns:

Parameters
filename(I) The directory that contains p21 files
map_file(I) The p21 file name
assortment_file(I) The mapping file name - mapping between p21 attribute name to Teamcenter name
class_id(I) The assortment file name
import_all(I) The tool class ID to be imported
dry_run(I) Whether or not to import all p21 files indicated in the assortment file (I) Whether or not to dry run