v2.22
IDataExporter Interface Reference

Allows the user to export different types of data from the application. This interface can be obtained from IProject. More...

Inheritance diagram for IDataExporter:

Public Member Functions

HRESULT GetObjects3D ([out, retval] IExportedObject3DCollection **ppExportedObject3DCollection)
 Exports scene objects as a collection of separate ExportedObject3D items. More...
 
HRESULT GetGrids ([out, retval] IGridWithMaterialCollection **ppGridWithMaterialCollection)
 Exports grids for all objects as a collection of separate grids with their materials. More...
 

Detailed Description

Allows the user to export different types of data from the application. This interface can be obtained from IProject.

DataExporter interface is mainly used for exporting object geometry.

Member Function Documentation

◆ GetGrids()

HRESULT IDataExporter::GetGrids ( [out, retval] IGridWithMaterialCollection **  ppGridWithMaterialCollection)

Exports grids for all objects as a collection of separate grids with their materials.

Note that the grids will share the materials (i.e. have equivalent material IDs) exactly the same way as the corresponding objects did in the Renga model.

Returns
A collection of all grids with their materials.

◆ GetObjects3D()

HRESULT IDataExporter::GetObjects3D ( [out, retval] IExportedObject3DCollection **  ppExportedObject3DCollection)

Exports scene objects as a collection of separate ExportedObject3D items.

Returns
A collection of ExportedObject3D items representing objects in the scene, containing the geometry data.