Skip to main content

optiSLang 3D Postprocessing Script API 2025 R1

ImportOMDB Struct Reference

Last update: 16.07.2025

Stores settings for loading optiSLang omdb files. Limited to scalar parameters and responses. More...

Public Member Functions

 check (Structure database) const
 checks the settings and throws an exception if they are not correct.
 
 getNumberOfResponseItems (number number)
 get the number of response items opens and parses the bin file for scalar data
 
std::vector< string > getSignalNames ()
 
 import (Structure database)
 finally imports the data
 
 ImportOMDB (string the_filename)
 default constructor More...
 

Public Attributes

string filename
 the name of the file which serves as a template (this file is not modified)
 
bool import_inputs
 if true, then input parameters are imported
 
bool import_responses
 if true, then response parameters are imported
 
bool overwrite_existing
 if true, then existing equally named data objects are replaced. Else an error appears.
 

Detailed Description

Stores settings for loading optiSLang omdb files. Limited to scalar parameters and responses.

Note
No handling of inactive, incomplete and failed designs.

Constructor & Destructor Documentation

◆ ImportOMDB()

ImportOMDB ( string  the_filename)

default constructor

Parameters
the_filenamethe name of the input file

Connect with Ansys