Hey guys, I'm at the beginning of the study in maya python api ... and I'm having some trouble because I'm not familiar with the C++ Maya API.
I wrote a simple scripited plugin that loads some MRampAtribute objects, it works ok so far. But I am not able to understand how to use some functions like 'getNumEntries', 'addEntries', 'getValueAtPosition' ... etc... There is a C++ exemple in devkit directory(volumeLigthCmd.cpp). But this is a bit difficult for me to transcribe for python. If helps, I put the code of node in my blognotes here... http://rosenio.com/blog/?p=88 So, how can I put it in a compute function and call the functions like 'getNumEntries' or 'getValueAtPosition'? I know I'm taking a step bigger than my leg ... but would be happy if someone can help me. Excuse me for beginner's ask and bad english ... Many thanks! -- http://groups.google.com/group/python_inside_maya
