saveIndexDataToFile(file_path, index_data)
This function could be implemented as follows:
def saveIndexDataToFile(file_path, index_data): with open(file_path, "wb") as open_file: open_file.write(hou.saveIndexDataToString(index_data))
See hou.loadIndexDataFromString() for more details.
See also |