CalculationToolScalarCustom#

class ansys.stk.core.analysis_workbench.CalculationToolScalarCustom#

Bases: ICalculationToolScalar, IAnalysisWorkbenchComponent

A calc scalar based on a scripted algorithm in MATLAB (.m or .dll), Perl or VBScript to define its value and rate.

Overview#

reload

Reload the file specified with Filename property.

filename

A path to MATLAB (.m or .dll), Perl or VBScript file.

invalidate_on_execution_error

Specify InvalidOnExecError flag for a custom scalar.

Import detail#

from ansys.stk.core.analysis_workbench import CalculationToolScalarCustom

Property detail#

property CalculationToolScalarCustom.filename: str#

A path to MATLAB (.m or .dll), Perl or VBScript file.

property CalculationToolScalarCustom.invalidate_on_execution_error: bool#

Specify InvalidOnExecError flag for a custom scalar.

Method detail#

CalculationToolScalarCustom.reload(self) None#

Reload the file specified with Filename property.

Returns:

None