BobbyB
02-19-2007, 05:33 AM
Ive been wanting to create a script that would find all the objects in a scene that have a point cache on them and record that point cache.
The new point cache2 modifier has the advantage of the fact that it automatically grabs the name of the object the the point cache is on.
However i cant seem to get a piece of script that will activate the record function in the modifier. I should be able to find all objects that have a point cache modifier the activate the record.
For the first time it would promped the file location because no file has been set yet. It would be nice if this didnt have to be done for all objects and once the file location was set all the objects cached would use that file and their object name for the file name. Although this is not nessary but would be nice incase the file had a lot of objects that needed to be cached
Also the script has to turn on the point cache to record and then turn it back off again so the point cache doesnt overide and new animation that may be done after.
If any one has any pointers or if anyone wants to have a shot at creating the script I would be thankfull.
Cheers
Rob
The new point cache2 modifier has the advantage of the fact that it automatically grabs the name of the object the the point cache is on.
However i cant seem to get a piece of script that will activate the record function in the modifier. I should be able to find all objects that have a point cache modifier the activate the record.
For the first time it would promped the file location because no file has been set yet. It would be nice if this didnt have to be done for all objects and once the file location was set all the objects cached would use that file and their object name for the file name. Although this is not nessary but would be nice incase the file had a lot of objects that needed to be cached
Also the script has to turn on the point cache to record and then turn it back off again so the point cache doesnt overide and new animation that may be done after.
If any one has any pointers or if anyone wants to have a shot at creating the script I would be thankfull.
Cheers
Rob
