Functions | |
| int | SPI_FIL_select_current_part () |
| Selects current database for working. | |
| int | SPI_FIL_clear_tmp_part () |
| Empties the temporary database and return to the current database. | |
| int | SPI_FIL_read_tmp_part (const std::string &dir, const std::string &name) |
| Loads a part in tempory database without display. | |
| int | SPI_FIL_select_tmp_part () |
| Selects the tempory database as working database. | |
| int | SPI_FIL_merge_part (const std::string &dir, const std::string &name) |
| Merges a file in the current database. | |
| int | SPI_FIL_import_file_bdd_tmp (const std::string &dir, const std::string &name) |
| Imports a file in temporary database without display known format are : AUTOCAD DXF, AUTOCAD DWG, HPGL import parameters for DXF/DWG : no plan creation for 3d arcs explosion of dimensions explosion of acad symbols. | |
| int | SPI_FIL_save_temporary_file () |
| Performs a temporary backup of the part on the hard drive. | |
| int | SPI_FIL_restore_temporary_file () |
| Retrieves a temporary backup with the name of the part. | |
Temporary files and parts
| int SPI_FIL_clear_tmp_part | ( | ) |
Empties the temporary database and return to the current database.
| int SPI_FIL_import_file_bdd_tmp | ( | const std::string & | dir, |
| const std::string & | name ) |
Imports a file in temporary database without display
known format are :
AUTOCAD DXF, AUTOCAD DWG, HPGL
import parameters for DXF/DWG :
no plan creation for 3d arcs
explosion of dimensions
explosion of acad symbols.
| [in] | dir | file folder |
| [in] | name | file name |
| int SPI_FIL_merge_part | ( | const std::string & | dir, |
| const std::string & | name ) |
Merges a file in the current database.
| [in] | dir | name of directory |
| [in] | name | name of the part file |
| int SPI_FIL_read_tmp_part | ( | const std::string & | dir, |
| const std::string & | name ) |
Loads a part in tempory database without display.
| [in] | dir | name of the directory |
| [in] | name | name of the file |
| int SPI_FIL_restore_temporary_file | ( | ) |
Retrieves a temporary backup with the name of the part.
| int SPI_FIL_save_temporary_file | ( | ) |
Performs a temporary backup of the part on the hard drive.
| int SPI_FIL_select_current_part | ( | ) |
Selects current database for working.
| int SPI_FIL_select_tmp_part | ( | ) |
Selects the tempory database as working database.