cache not working on maya 2014, i animated a poly sphere n used the script n got following error
// Warning: line 0: Geometry cache may be static. `pSphereShape1` does not appear to have animation on its construction history or control points. //
// Warning: line 0: Geometry cache may be static. `pSphereShape1` does not appear to have animation on its construction history or control points. //
// Warning: line 0: Geometry cache may be static. `pSphereShape1` does not appear to have animation on its construction history or control points. //
cacheFile -attachFile -fileName "pSphere1_scriptGeneratedGeoCacheFile" -directory "C:/replace/this/path/withYourOwn/Path/to/a/destinationBakeFolder/" -cacheFormat "mcc" -ia cacheSwitch1.inp[0];
// pSphere1_scriptGeneratedGeoCacheFileCache1 //
makeIdentity -apply true -t 1 -r 1 -s 1 -n 0 -pn 1;
// Error: line 0: Freeze Transform was not applied because pSphere1.translateX has incoming connection. //
// Error: line 1: Freeze Transform was not applied because pSphere1.translateX has incoming connection. //
# Error: Error occurred during execution of MEL script
# line 1: Freeze Transform was not applied because pSphere1.translateX has incoming connection.
# Traceback (most recent call last):
# File "<maya console>", line 46, in <module>
# RuntimeError: Error occurred during execution of MEL script
# line 1: Freeze Transform was not applied because pSphere1.translateX has incoming connection. #
plz submit a demo video or animated gif for how to use this script
// Warning: line 0: Geometry cache may be static. `pSphereShape1` does not appear to have animation on its construction history or control points. //
// Warning: line 0: Geometry cache may be static. `pSphereShape1` does not appear to have animation on its construction history or control points. //
// Warning: line 0: Geometry cache may be static. `pSphereShape1` does not appear to have animation on its construction history or control points. //
cacheFile -attachFile -fileName "pSphere1_scriptGeneratedGeoCacheFile" -directory "C:/replace/this/path/withYourOwn/Path/to/a/destinationBakeFolder/" -cacheFormat "mcc" -ia cacheSwitch1.inp[0];
// pSphere1_scriptGeneratedGeoCacheFileCache1 //
makeIdentity -apply true -t 1 -r 1 -s 1 -n 0 -pn 1;
// Error: line 0: Freeze Transform was not applied because pSphere1.translateX has incoming connection. //
// Error: line 1: Freeze Transform was not applied because pSphere1.translateX has incoming connection. //
# Error: Error occurred during execution of MEL script
# line 1: Freeze Transform was not applied because pSphere1.translateX has incoming connection.
# Traceback (most recent call last):
# File "<maya console>", line 46, in <module>
# RuntimeError: Error occurred during execution of MEL script
# line 1: Freeze Transform was not applied because pSphere1.translateX has incoming connection. #