export_3d_model#

Mechanical.export_3d_model(file_name='', file_path='', file_format='.step', object_list=None, removed_objects=None, major_version=-1, minor_version=-1, **kwargs)[source]#

Export the 3D model.

Parameters:
file_namestr, optional

Name of the file.

file_pathstr, optional

Path for the file.

file_formatstr, optional

Format of the file. The default is ".step".

object_listlist, optional

List of objects to export. The default is None.

removed_objectslist, optional

List of objects to remove. The default is None.

major_versionint, optional

File format major version. Default is -1.

minor_versionint, optional

File format major version. Default is -1.

Returns:
bool

True when successful, False when failed.

References

>>> oEditor.Export