-
-
Save fereria/e5b5f5c65416e48a6b56 to your computer and use it in GitHub Desktop.
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 | |
selNode = pm.ls(sl=True) | |
select = [] | |
for sel in selNode: | |
select.append(sel.root()) | |
select = list(set(select)) | |
pm.select(select,r=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment