Thank you for your answer Cédric.

I understand the usefulness of thinking in cpp and not in python. I try to 
do it as much as possible and I optimize a lot of code thanks to that.
Sometimes I use "shortcuts" to go a little faster in prototyping, like the 
getPlug function of the MSelectionList.
I also do according to what I am given, here a json with string and thus 
the function getPlug when I have "myNode.myAttribute" to go "fast" in code. 
But it forces either to cut the string or to rethink the file generation 
logic that is not based on the Maya API. Eventually it will come but for 
the moment we are in phase of test and transformation of some script.

Only the fact that getPlug works with the attribute "translate" and not 
"rotatePivot" calls me. For me, they are attributes of the same type.
But as the recovery does not work there is necessarily a difference and I 
want to know which one.

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/30f2858d-1ca7-428c-9bdb-b147cb3a6cfc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to