Skip to main content

optiSLang 3D Postprocessing Script API 2024 R2 SP02

DataModelReporter Class Reference

Last update: 16.07.2025

This class provies all information in Json format about the available functionality in the AutoML framework. More...

Public Member Functions

JsonValue getAll ()
 Collects information on all the internal and custom components currently available in the framework and returns them in a single Json value. More...
 
JsonValue getAllLicenseCapabilities ()
 Collects information on all licensing capabilities available in the framework and returns them in a single Json value. More...
 
JsonValue getAllModels ()
 Collects information on the internal and custom models currently available in the framework and returns them in a single Json value. More...
 
JsonValue getAllProperties ()
 Collects information on all properties currently available in the framework and returns them in a single Json value. More...
 
JsonValue getAllQualityMeasures ()
 Collects information on all quality measures currently available in the framework and returns them in a single Json value. More...
 
JsonValue getMOP ()
 Collects information on the MOP and returns them in a single Json value. More...
 
JsonValue getScalarMOP ()
 Collects information on the ScalarMOP and returns them in a single Json value. More...
 

Public Attributes

apply SWIGTYPE * DISOWN
 Function to register the reporter that collects information on the custom models This function takes ownership of the CustomModelReporter. More...
 

Detailed Description

This class provies all information in Json format about the available functionality in the AutoML framework.

Member Function Documentation

◆ getAll()

JsonValue getAll ( )

Collects information on all the internal and custom components currently available in the framework and returns them in a single Json value.

Returns
A Json value containing all objects that can be collected through the functions above

◆ getAllLicenseCapabilities()

JsonValue getAllLicenseCapabilities ( )

Collects information on all licensing capabilities available in the framework and returns them in a single Json value.

Returns
A Json value containing a list with all available license capabilities

◆ getAllModels()

JsonValue getAllModels ( )

Collects information on the internal and custom models currently available in the framework and returns them in a single Json value.

Returns
A Json value containing a list with all available models

◆ getAllProperties()

JsonValue getAllProperties ( )

Collects information on all properties currently available in the framework and returns them in a single Json value.

Returns
A Json value containing a list with all available properties

◆ getAllQualityMeasures()

JsonValue getAllQualityMeasures ( )

Collects information on all quality measures currently available in the framework and returns them in a single Json value.

Returns
A Json value containing a list with all available quality measures

◆ getMOP()

JsonValue getMOP ( )

Collects information on the MOP and returns them in a single Json value.

Returns
A Json value containing the Json configuration of the ScalarMOP

◆ getScalarMOP()

JsonValue getScalarMOP ( )

Collects information on the ScalarMOP and returns them in a single Json value.

Returns
A Json value containing the Json configuration of the ScalarMOP

Member Data Documentation

◆ DISOWN

apply SWIGTYPE* DISOWN
Initial value:
{CustomModelReporter * customModelReporter}
setCustomModelReporter( CustomModelReporter * customModelReporter )

Function to register the reporter that collects information on the custom models This function takes ownership of the CustomModelReporter.

Parameters
customModelReporterClass to provide a callback to Python reporting custom models

Connect with Ansys