not sure what you mean by “my folder archive called RIB_Archive”. the parameter for RiReadArchive is the name of the archive you want to read so for example:
RiReadArchive "E:/CLASS/VSFX319/maya/projects/vsfx319_projects/palmetto/RIB_archive/spikes.099.rib";
if you don’t want to use absolute paths you can also specify your archive searchpath but for now lets use absolute paths.
so if you have rib archives spikes.001.rib to spikes.099.rib you would copy this script to your script editor and run it:
global proc string getFormatTime() {
$t = int(`currentTime -q`);
if($t>=100)
return $t;
if($t>=10)
return "0"+$t;
if($t<10)
return "00"+$t;
};
then go to your preShapeMEL and enter this:
RiReadArchive ("E:/CLASS/VSFX319/maya/projects/vsfx319_projects/palmetto/RIB_archive/spikes."+getFormatTime()+".rib");