Re: [Maya-Python] pymel 1.0.3 is out... what is new or improved?

2011-06-22 Thread David Moulder
You can find out what's new in the change log. I found this via git hub... http://bit.ly/kYYa9k -Dave On Tue, Jun 21, 2011 at 7:42 PM, Geordie Martinez geordiemarti...@gmail.com wrote: Hey all, pymel 1.0.3 is available for download from the pymel google code site, but I haven't heard

[Maya-Python] polygon at UV position

2011-06-22 Thread John VanDerZalm
Hi all, is there anyway in API to get a Polygon at a Uv space? MfnMesh or MItMeshPolygon all have and Inputs for Poly ID but unless your iterating over the Mesh then its really guesswork as to which Poly is at a UV point. MfnMesh.getUVAtPoint() still needs a PolyID and if you don't have one

Re: [Maya-Python] pymel 1.0.3 is out... what is new or improved?

2011-06-22 Thread Paul Molodowitch
It's mostly a bugfix release. - Paul On Wed, Jun 22, 2011 at 1:20 AM, David Moulder da...@thirstydevil.co.ukwrote: You can find out what's new in the change log. I found this via git hub... http://bit.ly/kYYa9k -Dave On Tue, Jun 21, 2011 at 7:42 PM, Geordie Martinez

[Maya-Python] virtual class not calling _preCreateVirtual function... why?

2011-06-22 Thread Geordie Martinez
Here is a simple example. _preCreateVirtual is not being called in this virtual class. I can't figure out why. Any insight? ---CODE import pymel.all as pm class blahNode( pm.Transform): @classmethod def _preCreateVirtual(cls, **kwargs ): print ' _preCreateVirtual '

Re: [Maya-Python] virtual class not calling _preCreateVirtual function... why?

2011-06-22 Thread David Moulder
from memory I think you need to do these 2 things - _isVirtual I think should return *True* - make sure you inherit from the nt module IE blahNode( pymel.nt.Transform) On Wed, Jun 22, 2011 at 10:25 PM, Geordie Martinez geordiemarti...@gmail.com wrote: Here is a simple example.