call to python curve writer for Maya
//arguments are: start frame, end frame,
//curve type (1 for single, 2 for spikes,
//3 for random single, 4 for random spikes)
$cmd = particlesToMayaCurves(1, 50, 2);
eval($cmd);
  
  
//call to python curve writer for Rman
//arguments are: start frame, end frame,
//boolean for random (0 or 1),
//curve type (1 for single, 2 for spikes,
//3 for wavy, or 4 for follow)
$cmd = particlesToRmanCurves(1, 20, 1, 4);