On 02/10/2013 at 00:37, xxxxxxxx wrote:
Is there any way to access the Bake, Clear Cache, and other buttons for the MoGraph Cache tag? I see that the other parameters are exposed, but not the buttons.
I also see the tool c4d.CallButton( op , id ), but I am not sure how to find the id of the buttons.
I'd appreciate any suggestions to point me in the right direction.
On 02/10/2013 at 00:59, xxxxxxxx wrote:
I found the information. Thanks.
Here is a link:
And here is sample code:
from c4d import gui
#Welcome to the world of Python
def main() :
obj = doc.SearchObject("Cloner")
tag = obj.GetFirstTag()