export_aedt_model#

AEDTCommon.export_aedt_model(obj_list=None, export_path=None, export_as_single_objects=True, air_objects=False, encode=True)[source]#

Export the model in the OBJ format and then encode the file if the encode parameter is enabled.

Parameters:
obj_listlist, optional

List of objects to export. The default is None, in which case every model object except 3D, vacuum, and air objects are exported.

export_pathstr, optional

Full path of the exported OBJ file. The default is None, in which case the file is exported in the working directory.

export_as_single_objectsbool, optional

Whether to export the model as a single object. The default is True. If False, the model is exported as a list of objects for each object.

air_objectsbool, optional

Whether to export air and vacuum objects. The default is False.

encodebool, optional

Whether to encode the file. The default is True.

Returns:
list or dict

List of exported OBJ files or encoded data.