Hey man, congratulations for your initiative! This should be REALLY
helpfull! PoseDeformer is awesome.


Did a quick test on a poseDeformed rig and got the following error:

// Error: (kFailure): Object does not exist
# Traceback (most recent call last):
#   File ".../Maya8.5/plug-ins-x64/poseReader.py", line 768, in draw
#     nDrawDetail = plugDrawDetail.asInt()
#   File
"G:\engserv\rbuild\175\build\wrk\optim\runTime\Python\Lib\site-packages\maya\OpenMaya.py",
line 7940, in asInt
# RuntimeError: (kFailure): Object does not exist //

Maya automatically loaded the .MLL for the original deformer and reader,
then I manually unloaded the .MLL reader and loaded the .PY reader, to get
this error.

Am I doing something wrong?
BTW, I'm using Maya 8.5 x64!

Richard




On Sat, Apr 4, 2009 at 3:35 PM, ryant <[email protected]> wrote:

>
> I am finally posting the poseReader plug-in I converted. You can find
> it in the downloads section here:
>
> http://www.rtrowbridge.com/blog/downloads/
>
> It was originally written by Michael B. Comet so the concept was
> created by him and he deserves the credit. I converted his C++ code
> into a Maya Python API plug-in. Hopefully with no bugs, but there very
> well could be some still lurking. If you find any feel free to tell me
> and I will look into fixing them. I think this was a good exercise in
> converting a plug-in. It helped me with understanding better how to
> read C++ into Python. Not that I will be doing that often but it is
> still a good learning experience.
>
> This changes the poseReader from being a plug-in that must be compiled
> for every version of Maya to a plug-in that will work on any platform
> and for any version of Maya using Python. That’s pretty cool I think.
>
> Feel free to pick it apart and learn from it.
>
> Cheers,
> RyanT
> Technical Artist
> www.rtrowbridge.com/blog
> NaughtyDog Inc.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to