def load_data(file_path):
"""Load a skeleton hierarchy from the given json data file. No nodes will be created in Maya.
:param file_path: Json file on disk.
:return: The hierarchy data loaded from disk.
"""
fh = open(file_path, 'r')
data = json.load(fh)
fh.close()
return data
评论列表
文章目录