Closed windxu8 closed 7 years ago
Run script below:
import pymel.core as pm n = pm.nurbsPlane() s = pm.listRelatives(n[0],s=True)[0] p = s.closestPoint([0,0,0], True, tolerance=0.001,space='world')
It will fail with such an error: TypeError: unbound method get() must be called with SafeApiPtr instance as first argument (got list instance instead)
fixed in latest on github
Run script below:
import pymel.core as pm n = pm.nurbsPlane() s = pm.listRelatives(n[0],s=True)[0] p = s.closestPoint([0,0,0], True, tolerance=0.001,space='world')
It will fail with such an error: TypeError: unbound method get() must be called with SafeApiPtr instance as first argument (got list instance instead)