Thank you ! so much I'll try this On Friday, September 24, 2021 at 9:40:39 AM UTC+2 [email protected] wrote:
> You can try to get them with OpenMaya: > > import maya.OpenMaya as OpenMaya > > #nurbs surface sphere name > node_name = "nurbsPlaneShape1" > > #get shape m_obj > selList = OpenMaya.MSelectionList() > selList.add(node_name) > mobj = OpenMaya.MObject() > selList.getDependNode(0, mobj) > > #create mfnnurbssurface and retrieve data from it > mfnNurbsSurface_from_dag = OpenMaya.MFnNurbsSurface(mobj) > patches_u = mfnNurbsSurface_from_dag.numPatchesInU() > patches_v = mfnNurbsSurface_from_dag.numPatchesInV() > > чт, 23 сент. 2021 г. в 19:57, Anas Elkinawy <[email protected]>: > >> How To get the NurbsPlane's "patchesV" & "patchesU" data for deleted >> history nurbsplane >> >> -- >> 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/c074570e-7667-4bb1-93d7-5645558cd61en%40googlegroups.com >> >> <https://groups.google.com/d/msgid/python_inside_maya/c074570e-7667-4bb1-93d7-5645558cd61en%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > ----------------------- > Best regards, > Andrew Golubev > -- 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/41afd41b-759e-40e9-93a5-87fb6c708d47n%40googlegroups.com.
