ScriptSpot

Forum topic · General Scripting

Recording Point Cache with maxscript

By samehbijo · 2015-06-08

Description

Hi

I am trying to create a script to apply a point cache and record it to a file , I got all the steps except the Record step , where I couldn't find the right command to start recording point cache ,nothing in Max Script documentation reference , could anyone help ?

Thanks

Comments (2)

`

pixamoon · 2015-06-10

from maxscript help:

cacheOps.RecordCache <PointCacheModifier>

Records the cache data of the given Point Cache modifier to disk.

If object is selected:

cacheOps.RecordCache $.modifiers[#Point_Cache]

Let me know if this is what you need.
Cheers,
Pixamoon

samehbijo · 2015-06-14

Actually it is what I am looking for
its wired that this line does not exist in the Point Cache modifier page in Max help

Thanks Pixamoon