Hi everybody, I try to was creating a custom node in c ++. It is functional yet. My problem is to try to optimize this node.
I have an input inSurface attribute. I retrieves the connection with MHandleData and I converted in MObject // ======================================== MDataHandle inSurfaceDataHandle = data.inputValue (aInSpace); MObject inSurface inSurfaceDataHandle.asNurbsSurface = (); MFnNurbsSurface mnsNurbsSurface (inSurface); // ======================================== But I find that this solution is Extremely heavy in terms of calculation for Maya ... Is that there would be another solution? I try to put a variable pointer in the class. and recover the connection once. It works a creation of the node but not after ... any one have a solution? -- 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/8572abd8-62df-4731-88ab-af1dae1ea7b4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
