I'm a relative newbie to Maya plugin dev, and was wondering how you can get info from the timeline at runtime? I want to create a smoke sim and have the user create a new 'Simulation' node, which can use OpenGL to render particles/volume/etc. but not sure which class to inherit from.
Also, I want to be able to have the use play the timeline and have the simulation respond by calculating at every timestep, but can't figure out how to do this either! Have read a couple of books on Maya API and have looked at the docs, but still not sure about it. HELP, pls!!!