pytuflow.TCFRunState.tgc

pytuflow.TCFRunState.tgc#

TCFRunState.tgc()#

Returns the model’s TGC ControlFileRunState instance.

Returns:

The TGC ControlFileRunState instance.

Return type:

ControlFileRunState

Raises:

KeyError – If the Geometry Control File is not found in the control file.

Example

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