howdy,
I'm fighting against what seems to be a bug, I'd like to know if anyone
else faced the same thing before
Custom node, with a mesh attribute (*MFnMeshData::kMesh*), storable.
I connect a mesh plug to it in maya, refresh, disconnect, and save as **.ma*
If I open my scene with a text editor, I get the right information into the
mesh attribute, that is, vertices, edges, etc.... I also get other keys
that I don't know: *"left"*, *"bottom"*, *"right"*, and I have no idea what
they do.
Now my problem is that some of my custom nodes, when I save, get written
incorrectly. Therefore, when I re-open my scene, maya fails to set my mesh
attribute back to what it was when I saved. Specifically, with a correct
file, I have something like
* setAttr "myAttributeName" [...]*
* "left" 0*
* "bottom" 0*
*etc...*
and with a *corrupted* file, I just have the key, and no value:
* setAttr "myAttributeName" [...]*
* "left"*
* "bottom"*
*etc...*
So from there, I have 2 questions:
- what on earth are those "left" "bottom" "right" ... keys/values inside
a mesh attribute and what are they used for?
- what could cause maya to not write my mesh attribute correctly when I
save my scene?
The problem seems to exist only with *.ma, not *.mb
Any help would be appreciated!
Thank you
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/d6bcf35e-a4b8-411b-b342-48cfa79e0a8dn%40googlegroups.com.