If you want to save yourself the hassle of writing a baking animation script yourself, there's a website scriptspot with dozens of scripts that do just that.
i wrote a script some years back... http://www.scriptspot.com/3ds-max/scripts/powerswitcher-enanced-viewport-switching-release answered on cgsociety too
There are quite a few scripts out there that help you create reference planes. http://www.scriptspot.com/3ds-max/scripts/create-reference-planes-from-a-psd
Unless there's been a fairly dramatic change to the scripting API then it's not possible. You have no useful access to the layer stack or tools via script
We're kicking off another contest here... The Polycount BRAWL² Tournament! _______________________________________________________________________________Theme: Multiverse / Mad Max / Dystopian world, with the Inspiration of previously designed titles, stories and designs by gaming artists of the past, present and future.…