Skip to main content

optiSLang 3D Postprocessing Script API 2025 R1

ImportOptiSLangBinary Struct Reference

Last update: 16.07.2025

stores settings for loading optiSLang binary files More...

Public Member Functions

 check (Structure database) const
 checks the settings and throws an exception if they are not correct.
 
 import (Structure database) const
 finally imports the data
 
 ImportOptiSLangBinary (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_constant_inputs
 if true and import_inputs=true, then also constant parameters are imported
 
bool import_dependent_inputs
 if true and import_inputs=true, then also dependent parameters are imported
 
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 binary files

Constructor & Destructor Documentation

◆ ImportOptiSLangBinary()

ImportOptiSLangBinary ( string  the_filename)

default constructor

Parameters
the_filenamethe name of the input file

Connect with Ansys