Hi
I have exported the cache of the geometries selected using the following code. Now on selecting the mesh how do I import the cache back from the cache path? Any suggestion or help is well appreciated.
startFrame = 1
endFrame = 24
cachePath = 'C:/Users/########/Documents/maya/projects/default/data/cache'#cache data saving path
path = cmds.file(query = True, exn = True)
PathSplit = path.split("/")
flName = PathSplit[-1]
cmds.cacheFile(f=flName, st=startFrame, et=endFrame, points=cacheObjShape, dir=cachePath, cacheFormat="mcc", format="OneFile",sch=1)#Writing the cache
#cacheObjShape is the cache mesh shapes selection
Thanks
Prem