get_twin_version#

static TwinRuntime.get_twin_version(file_path)#

Returns whether the loaded TWIN model is a valid model or not, as well as the Twin Builder version used to compile it.

Parameters:
file_pathstr

File path to the TWIN model.

Returns:
(bool, str)

True if the TWIN model is a valid model, False otherwise. And Twin Builder version used to compile it.