Python Forum

Full Version: Create cache script
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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,
Have you tried searching for "python and cache node"? Sorry, but your question seems to be a bit obtuse  Huh