cgma
|
#include "CubitDefines.h"
Go to the source code of this file.
Functions | |
CubitStatus | CubitCompat_import_solid_model (const char *file_name, const char *file_type, const char *logfile_name=NULL, CubitBoolean heal_step=CUBIT_TRUE, CubitBoolean import_bodies=CUBIT_TRUE, CubitBoolean import_surfaces=CUBIT_TRUE, CubitBoolean import_curves=CUBIT_TRUE, CubitBoolean import_vertices=CUBIT_TRUE, CubitBoolean free_surfaces=CUBIT_TRUE, DLIList< RefEntity * > *imported_entities=NULL) |
CubitStatus | CubitCompat_export_solid_model (DLIList< RefEntity * > &ref_entity_list, const char *filename, const char *filetype, int &num_ents_exported, const CubitString &cubit_version, const char *logfile_name=NULL) |
CubitStatus CubitCompat_export_solid_model | ( | DLIList< RefEntity * > & | ref_entity_list, |
const char * | filename, | ||
const char * | filetype, | ||
int & | num_ents_exported, | ||
const CubitString & | cubit_version, | ||
const char * | logfile_name = NULL |
||
) |
Definition at line 70 of file CubitCompat.cpp.
{ // const bool print_results = false; // const bool merge_globally = false; // const bool no_assembly_level_features = false; ModelExportOptions CubitCompat_opts = {1, logfile_name ? logfile_name : "" }; return GeometryQueryTool::instance()->export_solid_model( ref_entity_list, filename, CubitCompat_file_type(filetype), num_ents_exported, cubit_version, CubitCompat_opts ); }
CubitStatus CubitCompat_import_solid_model | ( | const char * | file_name, |
const char * | file_type, | ||
const char * | logfile_name = NULL , |
||
CubitBoolean | heal_step = CUBIT_TRUE , |
||
CubitBoolean | import_bodies = CUBIT_TRUE , |
||
CubitBoolean | import_surfaces = CUBIT_TRUE , |
||
CubitBoolean | import_curves = CUBIT_TRUE , |
||
CubitBoolean | import_vertices = CUBIT_TRUE , |
||
CubitBoolean | free_surfaces = CUBIT_TRUE , |
||
DLIList< RefEntity * > * | imported_entities = NULL |
||
) |
Definition at line 37 of file CubitCompat.cpp.
{ const bool print_results = false; const bool merge_globally = false; const bool no_assembly_level_features = false; ModelImportOptions CubitCompat_opts = { heal_step, print_results, import_bodies, import_surfaces, import_curves, import_vertices, free_surfaces, merge_globally, no_assembly_level_features, logfile_name ? logfile_name : "" }; return GeometryQueryTool::instance()->import_solid_model( file_name, CubitCompat_file_type(file_type), CubitCompat_opts, imported_entities ); }