export_3d_model#

Q2d.export_3d_model(file_name='', file_path='', file_format='.step', assignment_to_export=None, assignment_to_remove=None, major_version=-1, minor_version=-1)#

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".

assignment_to_exportlist, optional

List of objects to export. The default is None.

assignment_to_removelist, 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