Importer

Functions

Importer

~Importer

bool

Init

bool

Load

bool

Load

Detailed Description

class Importer

The Importer class handles CAD file import Your application should create an Importer only once during initialization. This importer object should be re-used for each file that is imported.

Public Functions

Importer()

Creates a new, uninitialized Importer object. Only one Importer object should be created per application. This constructor will throw a Communicator::Excpetion if an importer has already been created

~Importer()
bool Init(Converter *converter, ConverterString output_model_logfile = ConverterString(), int debug_flags = 0)

Initializes the importer with the active conversion object.

bool Load(char const *filename, SC_Import_Options import_options)

Loads a CAD file given a fully qualified path

bool Load(void *modelFile)

Loads a modelfile given a pointer on it