Most of the time, when using getEdgeVertices(),
the function returns [0, 0] for the majority of edges.
If I execute the code below five times with a simple polyPlane selected...
#---Start----
import pymel.core as pm
selection = pm.ls(sl = True)
node = selection[0]
edge_index = 2
node.getEdgeVertices(edge_index)
#---End------
...the results looks like this:
# Result: [0, 0] #
# Result: [0, 0] #
# Result: [0, 0] #
# Result: [1, 3] # (correct)
# Result: [0, 0] #
I have tested it on:
Windows 8 Pro x64
Using:
* Maya 2013 x64 Educational Version with PyMEL 1.0.4
* Maya 2013 x64 SP2 Educational Version with PyMEL 1.0.4
* Maya 2012 x64 Educational Version with PyMEL 1.0.3
* Maya 2011 x64 Educational Version with PyMEL 1.0.0
When I'm using Maya 2013 x86 Educational Version with PyMEL 1.0.4,
the results looks like this:
# Result: [1, 3] # (correct)
# Result: [0, 0] #
# Result: [0, 0] #
# Result: [907632248, 295] #
# Result: [1, 3] # (correct)
Original issue reported on code.google.com by skalman...@gmail.com on 11 Mar 2013 at 12:39
Original issue reported on code.google.com by
skalman...@gmail.com
on 11 Mar 2013 at 12:39