Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Create cache script
#1
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,
Reply
#2
Have you tried searching for "python and cache node"? Sorry, but your question seems to be a bit obtuse  Huh
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Speeding up code using cache Peter 1 512 Jul-29-2023, 04:52 AM
Last Post: bowlofred
  Opinion: how should my scripts cache web download files? stevendaprano 0 705 Dec-17-2022, 12:19 AM
Last Post: stevendaprano
  main libvlc error: stale plugins cache: schascheck 2 7,596 Dec-27-2020, 05:24 PM
Last Post: schascheck
  How to create a Kibana Visualisation with python script? adzadz 0 1,245 Jul-20-2020, 06:41 AM
Last Post: adzadz
  Clear Cache Path sportcardinal 0 1,580 Jul-05-2020, 05:11 PM
Last Post: sportcardinal
  How to print cache from Decorators with Memoization OlgaM 2 2,017 Jan-29-2020, 05:06 PM
Last Post: OlgaM
  pip cache millpond 3 8,155 Jul-22-2019, 01:12 AM
Last Post: millpond
  python cache for small integer Uchikago 1 2,457 Jun-27-2019, 05:32 PM
Last Post: ichabod801
  Error in request, cache key a21250450 2 3,062 Apr-02-2019, 11:20 AM
Last Post: a21250450
  How can I make a python script create an EXE? ahmed_mokhles 26 12,397 Aug-31-2018, 12:38 PM
Last Post: ahmed_mokhles

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020