HPS::DWG::File

class HPS::DWG::File

The File class provides functions to import CAD files via DWG.

Public Static Functions

static ImportNotifier Import(char const *in_file_name, ImportOptionsKit const &in_options)

Performs an asynchronous import of the specified CAD file with the provided options. May throw an IOException prior to starting the asynchronous import.

Parameters
  • in_file_name – The name of the CAD file to import.

  • in_options – The options controlling the import of the CAD file.

Returns

An ImportNotfier object that can be used to query the import progress and status.