Has anyone had any success using MMeshIntersector in python api 2.0?

import maya.api.OpenMaya as om
import pymel.core as pm

obj = pm.polyCube(ch=0)[0]
path = om.MGlobal.getSelectionListByName(obj.name()).getDagPath(0)
matrix = path.inclusiveMatrix()
node = path.node()

intersector = om.MMeshIntersector()
intersector.create(node, matrix)

This bit of code gives me a RuntimeError:
"More keyword list entries (12) than format specifiers (2)"


-- 
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/5db8bbf7-7eb5-434c-bb65-f130c6abeb07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to