Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/g/l/glTools-HEAD/utils/component.py   glTools(Download)
			elif selPath.apiType() == OpenMaya.MFn.kNurbsCurve:
				curveFn = OpenMaya.MFnNurbsCurve(selPath.node())
				componentSelList.add(objName+'.cv[0:'+str(curveFn.numCVs()-1)+']')
			# Surface
			elif selPath.apiType() == OpenMaya.MFn.kNurbsSurface:

src/g/l/glTools-HEAD/common/componentUtilities.py   glTools(Download)
				elif selPath.apiType() == OpenMaya.MFn.kNurbsCurve:
					curveFn = OpenMaya.MFnNurbsCurve(selPath.node())
					cvCount = curveFn.numCVs()
					mc.select(objName+'.cv[0:'+str(cvCount-1)+']')
					OpenMaya.MGlobal.getActiveSelectionList(componentSelList)