import_3d_cad

Modeler2D.import_3d_cad(filename, healing=0, refresh_all_ids=True)

Import a CAD model.

Parameters
filenamestr

Full path and name of the CAD file.

healingbool, 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.

Returns
bool

True when successful, False when failed.

References

>>> oEditor.Import