Hi,

after further testing, I'd say that the inMesh, or cachedInMesh, attribute 
is not the way to go.
Maya does save the initial state of the mesh (as explainede HERE 
<http://download.autodesk.com/us/maya/2009help/index.html?url=Polygon_API_How_polygons_are_handled_internally.htm,topicNumber=d0e647908>)
 
in these attributes, but it's quite hard to tell when it is gonna happen.
I need to access information about the mesh as it was at the time of being 
referenced, and I need to be 100% sure that the data I'm retrieving will be 
correct.
I've seen that in some cases, both the inMesh and cachedInMesh attributes 
of my referenced shape node are invalid, which means that I cannot rely on 
them.

As Marcus Ottosson says, I could try to reference the mesh again, read 
that, and then unload it, but I think there have to be a better solution.

Does anyone know any other way to access this data?

-- 
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/82ab7630-a048-43fd-a3af-b91b3adbecbe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to