Before I start researching into Python to do something;

I was wondering if someone knows offhand if it's possible with Python to do the following sequence:


a) Lock(Bypass flag) for specific Sop Node

b) Auto press 'Clear All' button in Cache Manager window.

c) Have Python press/select 'Update Textures' from the scene drop down menu 'Render'.


I'm assuming the main aspect of doing something like this is with getting and referencing Python Menu Parm Templates?

Thanks.