Re: [Maya-Python] attributeAffects and input output name?

2018-11-18 Thread Marcus Ottosson
I can’t tell for sure, not without an example of sorts, but it looks like you’ve got the answer in the question. attributeAffects is how you tell Maya which attribute should trigger your compute function. What have you tried so far, and what happens? What did you expect to have happen? On Thu, 15

[Maya-Python] Open/New File VERY slow while batching

2018-11-18 Thread Alec Fredericks
Hey there, I have a batch script that's running through some raw mocap data and converting it down to different rigs. When I modify the file in Maya -- bake things down, delete bits of rig, etc -- opening up another file or creating a new file takes an inordinate amount of time. I'm wondering

[Maya-Python] Dynamically add checkBoxes in PySide while being able to refer to them later

2018-11-18 Thread Jakob Kousholt
Hi, I am trying to add a bunch of buttons and UI elements based of a python list. My issue is that I would need to refer to them later to see if they are checked or unchecked. Usually I would assign the button to a variable and check that specific variable for the state of the checkbox like:

Re: [Maya-Python] Dynamically add checkBoxes in PySide while being able to refer to them later

2018-11-18 Thread Marcus Ottosson
How about something like this? list = ['potato', 'tomato', 'poop'] boxes = {} for obj in list: boxes[obj] = QtWidgets.QCheckBox() boxes["potato"].checkState() boxes["tomato"].checkState() boxes["poop"].checkState() On Mon, 19 Nov 2018 at 05:54, Jakob Kousholt wrote: > Hi, > > I am trying