def get_current_version(self):
        version = None
        full_path = hou.hipFile.name()
        if full_path != 'untitled.hip':
            version = self.get_version_from_full_path(full_path)
        return version

##     def get_version_from_recent_files(self):
##        """returns the version from the recent files
##        """
##        version = None
##        recent_files = self.get_recent_file_list()
##        for i in range(len(recent_files) - 1, 0, -1):
##            version = self.get_version_from_full_path(
##                os.path.expandvars(recent_files[i])
##            )
##            if version:
##                break
##        return version
Returns the currently opened Version instance
dataset/ETHPy150Open eoyilmaz/anima/anima/env/houdini.py/Houdini.get_current_version