[Maya-Python] MNurbsIntersector

2009-09-01 Thread Jan Lachauer
Hello Everybody, First: thank you for this very usefull mailinglist!! Second: i want to work with the MNurbsIntersector class but I don't manage to get it right. nurbIntersect = OpenMaya.MNurbsIntersector() gives me the error: # AttributeError: 'module' object has no attribute

[Maya-Python] Is it possible to write a HwShaderNode in Python?

2011-10-09 Thread Jan Lachauer
Hello All, for several days I'm now trying to implement a Hw Shader Node using the Python API. Starting with the most basic node possible, I took RobTheBloke's BasicHwShader and removed everything leaving just the color attribute ( see his c++ example here:

[Maya-Python] Re: Book

2011-10-12 Thread Jan Lachauer
Very interesting, just ordered a copy! On 12 Okt., 22:14, Ehsan Kiani ehsankiani.t...@gmail.com wrote: thanks ! On Wed, Oct 12, 2011 at 11:42 PM, Ricardo Viana cgolhei...@gmail.comwrote: Thank you very much For this book just bought the kindle version. This time im really gonna

[Maya-Python] Re: Interactive selection of objects

2011-10-18 Thread Jan Lachauer
Does this help: http://download.autodesk.com/us/maya/2010help/Commands/scriptCtx.html ? On 17 Okt., 17:20, André Adam a_adam_li...@gmx.de wrote: Hi again, most Maya tools rely on input selections to be made prior to executing a command working on the selection. Now, instead of doing that I'm