[Maya-Python] Problem Executing Backburner from Python

2011-11-21 Thread PixelMuncher
After hours of research, I have backburner being called from a python script and rendering a test scene on 2 networked computers. However, when I try to run a production file that has a long prerender command, backburner errors and exits. After some experimentation, it appears that there is a char

Re: [Maya-Python] custom node icon

2011-11-21 Thread Chris G
http://download.autodesk.com/global/docs/mayasdk2012/en_us/index.html?url=files/Writing_a_Shading_Node_Shading_node_icons_for_Hypershade.htm,topicNumber=d28e4953 On Mon, Nov 21, 2011 at 8:34 PM, colas wrote: > How do I set a custom icon for my node? > I want it to show up in the outliner and in

[Maya-Python] custom node icon

2011-11-21 Thread colas
How do I set a custom icon for my node? I want it to show up in the outliner and in the hypergraph! Thanks! -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe

Re: [Maya-Python] Re: node to extract vectors?

2011-11-21 Thread Kamil Hepner
Exactly! The joint's are in hierarchy and just by reading the values of translation (local translation), you never get the proper vector, of joint direction. 2011/11/21 rudi > By the way, why the translation data don´t workto get vectors?It is > because the translation data is in local space? >

[Maya-Python] Re: node to extract vectors?

2011-11-21 Thread rudi
By the way, why the translation data don´t workto get vectors?It is because the translation data is in local space? On Nov 21, 5:49 pm, rudi wrote: > Thanks. I am going to try it out > > On Nov 21, 5:27 pm, Kamil Hepner wrote: > > > > > > > > > It's quite simple, you must use decomposeMatrix nod

[Maya-Python] Re: node to extract vectors?

2011-11-21 Thread rudi
Thanks. I am going to try it out On Nov 21, 5:27 pm, Kamil Hepner wrote: > It's quite simple, you must use decomposeMatrix node to get information > about postion of joint in the worldSpace. > > lets say we have the decomposeMartix for jointBaseA, named jointBaseA > > jointBaseA.worldMatrix -> jo

[Maya-Python] Invalid Pointer

2011-11-21 Thread Murphy Randle
Hi there everyone. I can't find any information on this here so far, so here we go: I'm using pymel with Maya 2012 on RedHat 6. I'm trying to run a batch script in the following way: mayapy PATH/TO/SCRIPT.py ARGS It works mostly OK, except for the fact that when I run into any type of error (sy

Re: [Maya-Python] node to extract vectors?

2011-11-21 Thread Kamil Hepner
It's quite simple, you must use decomposeMatrix node to get information about postion of joint in the worldSpace. lets say we have the decomposeMartix for jointBaseA, named jointBaseA jointBaseA.worldMatrix -> jointBaseA.inputMatrix jointBaseB.worldMatrix -> jointBaseB.inputMatrix And for the en

[Maya-Python] node to extract vectors?

2011-11-21 Thread rudi
Hi, Lets say that i have 2 joint chains: jointBaseA, jointEndA (child of joinBaseA) And jointBaseB, jointEndB (child of joinBaseB) I want to extract the vectorA created by jointBaseA, jointEndA and a vectorB by jointBaseB, jointEndB. Then I want to take vectorA and plug it in in the input vector1

Re: [Maya-Python] How to embed a modelPanel into a Qt Layout

2011-11-21 Thread Justin Israel
Ok great. Thats good to know. Pyqt 4.6 is slightly older than the maya 2011 docs even suggest (they recommend 4.7.3) so as Jo pointed out in his link its probably a keyword arg compatibility issue. On Nov 20, 2011, at 11:56 PM, "Kurian O.S" wrote: > Yeah Justin thats what the issue , i upd

[Maya-Python] parentMatrix and parentMatrix[0]

2011-11-21 Thread André Adam
Sorry if this is obvious, but perhaps someone can shed some light here; I am scripting DG connections right now and need access to the parentMatrix. The following MDGModifier call works as expected: oDGMod = api.MDGModifier() oDGMod.connect(self.oAnchor0, oDepNodeAnchor0.attribute('parentMatrix'),

[Maya-Python] Re: MPxCommand undoIt()

2011-11-21 Thread André Adam
Thanks for the input, I have found what makes it not work, though I don't quite understand why. I am executing my command from a Python tab in the script editor (for ease of handling) while still coding on it. A simple call makes the command work as expected and correctly triggers the undoIt(). So,