Re: [Maya-Python] Re:- Generating texture list by python

2012-04-02 Thread Justin Israel
:-) Like I said, it was just for fun. Obviously I meant to suggest the first one for real use. Its just that, sometimes people don't reply on this group very quickly, so I like to try and have a little fun with the code when I can. You never know, sometimes it might spark ideas. They might think o

Re: [Maya-Python] Re: API : Get transform's boundingBox by kMesh data

2012-04-02 Thread Richard Kazuo
Hi Jinhyuk, Can you post the code? More specifically the part where you create the MFnDagNode function. On Mon, Apr 2, 2012 at 3:20 AM, Jinhyuk wrote: > I am making the custom node as LocatorNode. > > I also have same problem like yours. > > MFnDagNode::boundingBox() does not work! > Just prin

Re: [Maya-Python] Re:- Generating texture list by python

2012-04-02 Thread Farsheed Ashouri
Oh Justin! I almost got a headache when i looked at your lambda recipe.!! Classic method is better :P On Tuesday, March 27, 2012 9:26:52 PM UTC+4:30, Justin Israel wrote: > > Here is a tightened up version of Mike's cmds approach. It uses sets which > are more efficient and unique by design, and

[Maya-Python] Re: API : Get transform's boundingBox by kMesh data

2012-04-02 Thread Jinhyuk
I am making the custom node as LocatorNode. I also have same problem like yours. MFnDagNode::boundingBox() does not work! Just print the ( 0,0,0 ) If you solve this problem, could you explain the detail about that? Also I want to get boundingBoxes for each connected mesh. How could I do that?

Re: [Maya-Python] skinCluster compute

2012-04-02 Thread Judah Baron
That would do it, but I need the skinCluster node to pull data from my node in order for my node's compute to be called. Without that pull, Maya doesn't think it needs to call my node's compute even though all of its output attributes have been dirtied, because there are no requests for that data.

Re: [Maya-Python] skinCluster compute

2012-04-02 Thread Ravi Jagannadhan
Querying its output attributes? On Mon, Apr 2, 2012 at 2:41 PM, Judah Baron wrote: > I am trying to drive skinCluster weights with another node, but the > skinCluster node's compute doesn't get called. Does anyone know of a way to > trigger a skinCluster node's compute method? > > Thanks, > -Juda

[Maya-Python] skinCluster compute

2012-04-02 Thread Judah Baron
I am trying to drive skinCluster weights with another node, but the skinCluster node's compute doesn't get called. Does anyone know of a way to trigger a skinCluster node's compute method? Thanks, -Judah -- view archives: http://groups.google.com/group/python_inside_maya change your subscription

Re: [Maya-Python] Anyone tried making Maya (Windows, 64bits) work with virtualenv through userSetup.py?

2012-04-02 Thread Justin Israel
Though I am not sure exactly why, it is this line in the activation script that is hanging up maya: site.addsitedir(site_packages) I have not tried using a virtualenv with maya before. Its a lot easier to just update the PYTHONPATH from the Maya.env, or, update the sys.path from the userSetup.py

[Maya-Python] Anyone tried making Maya (Windows, 64bits) work with virtualenv through userSetup.py?

2012-04-02 Thread Drake
We (Digimax Inc.) start to transfer our deployed python modules from a position indicated by envar, *PYTHONPATH*, to using *virtualenv* way. That is, for each proprietary python module/package, it is deployed by utilizing *setuptools/distribute/...* We made a virtualenv such that we can then jus