formZ SDK | 5.0 API Reference | Project | File Formats
Description
Imports a file into a formZ project.
Plugin Prototype
fzrt_error_td fz_ffmt_import_file(
fzrt_int * | windex, |
ffmt_id, | |
floc, | |
add_to_proj, | |
data_read_method, | |
imag_read_method ) |
Parameters
windex [Input, Result]
If add_to_proj is TRUE, the window of a project to read the file into. Else, the windex of the new project.
ffmt_id [Input]
The file format reference id.
floc [Input]
An file location containing the name and path of the file.
add_to_proj [Input]
If TRUE, add the data to the project referenced by windex. Else, create a new project for the file.
data_read_method [Input]
How to read data, as model objects or draft elements.
imag_read_method [Input]
How to read an image, as model, draft elements or draft image.
Returns
FZRT_NOERR on success. An error otherwise.
Availability
5.0.0.0
See Also
Function Set
Defined in