Last active
September 29, 2019 05:14
-
-
Save Roumenov/c7343050e81f27807ba33f65a4a2ab5c to your computer and use it in GitHub Desktop.
example of weird phenomenon when selecting verts of referenced mesh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pymel.core as pm | |
target_mesh = pm.ls(sl=1)[0] | |
print target_mesh | |
pm.select("mesh:simple_plane.vtx[*]") | |
pm.select("mesh:Xidriel_head_mesh.vtx[*]") | |
target_mesh.vtx[0].select() | |
target_mesh.vtx[:].select() | |
#why come this works but not the other? | |
pm.select(target_mesh+".vtx[*]") | |
pm.select(target_mesh+".vtx[:]") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment