import_3d_cad#

Modeler3D.import_3d_cad(filename, healing=False, refresh_all_ids=True, import_materials=False)#

Import a CAD model.

Parameters:
filenamestr

Full path and name of the CAD file.

healingbool, optional

Whether to perform healing. The default is False, in which case healing is not performed.

healingint, optional

Whether to perform healing. The default is 0, in which case healing is not performed.

refresh_all_idsbool, optional

Whether to refresh all IDs after the CAD file is loaded. The default is True. Refreshing IDs can take a lot of time in a big project.

import_materialsbool optional

Either to import material names from the file or not if presents.

Returns:
bool

True when successful, False when failed.

References

>>> oEditor.Import