pytuflow.TCFRunState.mat_file

pytuflow.TCFRunState.mat_file#

TCFRunState.mat_file()#

Returns the model’s MatDatabaseRunState instance.

Returns:

The MatDatabaseRunState instance.

Return type:

MatDatabaseRunState

Raises:

KeyError – If the material file is not found in the control file.

Example

>>> tcf = ... # assuming is an instance of TCF
>>> mat_file = tcf.context().mat_file()