Python Forum
Create cache script - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Create cache script (/thread-2709.html)



Create cache script - AgatheYou - Apr-04-2017

Hi everyone,

I am pretty new to python and I am actually trying to create one of my first script. I would like to create a script that creates a cache on a cloth selection when you run it.

I would like to know how to create a cache node on a selection in python?

The mel version is : doCreateNclothCache 5 { "2", "1", "10", "OneFile", "1", "","0","","0", "add", "0", "1", "1","0","1","mcx" } ; , but I can't find any equivalency in python. And I don't want to use the eval option. Trying to do it in a python way. Is it possible?

Thanks,


RE: Create cache script - sparkz_alot - Apr-04-2017

Have you tried searching for "python and cache node"? Sorry, but your question seems to be a bit obtuse  Huh