[Maya-Python] particle evaluation(/viewport draw) due to AE control - which is it?

2014-07-08 Thread campbell
Hi, I've got a updating data feeding in to a classic particle shape. Particle shape changes in response (well, under certain circumstances, hence the question...). When does it update in response? Whenever a draw event happens. Nice, just what we like. Sometimes, we also like to twiddle nobs

[Maya-Python] Re: particle evaluation(/viewport draw) due to AE control - which is it?

2014-07-08 Thread campbell
I'll answer this in part - could be any number of the AE controls pulling eval and draw request (from vis, to count)... I'm not entirely sure why i was asking this, its obvious, and i known it ... i guess i'm curious about the bigger questions... and perhaps if anyone is particularly particle

[Maya-Python] ok to retain reference to MObject that is NOT in, or from, DG/DataBlock?

2015-02-19 Thread campbell
Hi, I have a scenario where i need to construct large meshes, then variously output those same meshes with various extra data 'appended' to them them. If i have a preComputeBasicMeshes() that does something like: MObject basicMesh_DObj = MFnMeshData().create(); MFnMesh().create( ...,

[Maya-Python] ok to grab data from Other node within a compute (cf to from local plugs), IF a proxy dirty plug is used?

2016-06-29 Thread campbell
I have some nodes with some mildly complex output attribute structures, and i need to digest that attribute data in downstream nodes. I'm wandering if its DG-heresy if instead of recreating those attr structures on the downstream and doing all the wiring across, if i could instead create a sin

[Maya-Python] Maya 2013 Script Editor Stack Trace

2012-04-29 Thread Russell Campbell
I just installed 2013 on OSX 10.7.3 and the script editor is no longer printing the stack trace for executed python code. I was wondering if anyone else is having this problem. I've played with every combination of options in the History menu of the script editor, turning on and off "Show Stack T

[Maya-Python] python - to create dynamic buttons with commands

2012-11-04 Thread Don Campbell IV
Hi everyone, I am definitely in over my head here. The original goal was to dynamically create a window of buttons that is createdh from the quick selects menu. Each button would select the given selection set and key all. I have borrowed some code from a guy who is smarter than I that has

[Maya-Python] Re: python - to create dynamic buttons with commands

2012-11-04 Thread Don Campbell IV
Sorry dummy scene not included. If you make a maya file with the quick select sets and a sphere for each would would work. - Thanks - Don -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/su

[Maya-Python] Re: python - to create dynamic buttons with commands

2012-11-06 Thread Don Campbell IV
Hi Justin, Big thanks and so quick! Ok here is my code. I am playing around with a rig from this talented rigger and I want have easier access to the quick selection sets he created. Thats what started me down this road. He had all sets prefixed with qss. So finding them was pretty easy. h

Re: [Maya-Python] Re: python - to create dynamic buttons with commands

2012-11-07 Thread Don Campbell IV
Here is a the code cleaned up. Thanks again! Don. http://pastebin.com/HYHtziTt On Tuesday, November 6, 2012 3:57:26 PM UTC-8, Justin Israel wrote: > > Happy to help! > > Couple things you might want to correct in your latest pastebin. > > Your create method takes a setList variable but yo