Instantly share code, notes, and snippets.

Embed
What would you like to do?
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