Hi
I created custom geometry shape, that is almost exact copy of "apiMesh" example from maya devkit.
I also need to create a command that gets to the geometryData guts. The command will export vertices to renderman.
So, here are a few facts:
- my shape has outputSurface attribute
- outputSurface is of type MultiCurvesData derived from MPxGeometryData
- MPxGeometryData has a pointer to my own class (exactly as in devkit example)
- my command gets fed with MDagPath pointing to shapeNode and needs to access MultiCurvesData members.
Question: how do I go from MDagPath of shape to MultiCurvesData object ?
thanks for any tips