Script – CSV 2 Keys

I found this little script Bobo had written in a forum post a few years ago, did a few tweaks to it. Added an interface, a scale multiplier, and the option to set the time to match the current frame rate or a specified framerate.

What does it do? It takes a comma separated value file (.csv) and imports the data to a dummy object (a point helper in the case) and creates a keyframe at the time (close to the time anyway) and position indicated in the file.

Note: the .csv file needs to be generated in the form of – time, X, Y, Z, and make sure the header is clean (ie one piece of software it tested wrote the time in the form of ‘timeStamp’ which happens to be a max function, needles to say max didn’t like that)

CSV2Keys.zip

Install: Just run it through the Maxscript Menu->Run Script

Or

Open the script in the Maxscript editor and uncomment the block comments to turn it into a macroscript.

It can be a macro so run it and go to the Customize->Customize User interface dialog, and it is under the JRandom category, create a shortcut to open it.

No comments yet.

Leave a comment

Search

 

Archives