How to set the import parameters to maximize the efficiency of the import

For large files, I only call the WriteDependencies function of the Exporter to determine if the assembly is missing parts. How to set the import parameters to maximize the efficiency of the import. Can you provide examples of parameter settings.

struct SC_Import_Options {

public:

SC_Import_Options() = default;

/*! Import hidden objects from CAD File */

bool import_hidden_objects = false;

/*! Import PMI */

bool import_pmi = true;

/*! Always subtitute font */

bool always_substitute_font = false;

/*! Import geometry */

bool read_geometry = true;

/*! Import attributes */

bool read_attributes = true;

/*! Import the full path of original name */

bool read_full_path = false;

/*! Import wireframes */

bool read_wireframes = true;

/*! Load all available configurations in the CAD file */

bool load_all_configurations = true;

/*! Tessellation Quality */

int tessellation_quality = 2;

/*! JT level of detail. 0 = low, 1 = medium, 2 = high */

int jt_level_of_detail = 2;

/*! Directories to search for textures */

std::vector texture_search_directories;

/*! Name of the CAD configuration to import */

ConverterString configuration_to_load;

/*! Controls what to import from drawing files. 0 = only 3D, 1 = only drawings, 2 = Both 3D and

* drawings */

int drawings_mode = 1;

/*! @deprecated - Number of processes exchange use to load the data */

int multi_process_assembly_loading = 1;

/*! List of fonts directories */

std::vector prc_font_directories;

/*! List of search directories for external files*/

std::vector search_directories;

/*! Name of the font to use to replaced those referenced by the CAD file but which are not

* present on the system */

ConverterString substitution_font;

/*! Controls what to import from attribute of revit files: 0 = Not computed (default). 1 =

* Computed during reading process, stored as attributes*/

int revit_physical_properties = 0;

/*! Forces capping meshes to be created even if source data contains non-manifold geometry */

bool force_capping = false;

/*! Import IFC relationships*/

bool ifc_import_relationships = true;

/*! Import opening element mainly from IFC file*/

bool ifc_import_openings = false;

/*! Skip DWG externals when loading a Revit file*/

bool import_skip_dwg_links = false;

/*! Path of the HE settings xml file */

ConverterString xml_settings;

};

It’s unclear what you mean by optimized setting. If you are referring to improving the conversion time, the optimized setting would be to select the fewest features. For example, you can set --read_geometry, --read_attributes, --read_wireframes(any many others) to false. However, by doing so, the resulting Stream Cache file will lack such features and could degrade the overall user experience.

Just need to obtain the missing parts list, no need to convert geometric data.

This would be leanest setting:

read_geometry = false;
read_attributes = false;
read_wireframes = false;
import_pmi = false;
load_all_configurations = false;
tessellation_quality = 0;
jt_level_of_detail = 0;
drawings_mode = 0;
ifc_import_relationships = false;