-
-
Save fereria/79972e3bb8e8775d4635 to your computer and use it in GitHub Desktop.
選択しているノードの子ノードすべてを表示する。LockがあったらUnLock
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 | |
selectNode = pm.ls(sl=True) | |
for sel in selectNode: | |
vis = sel.listRelatives(ad=True) | |
for j in vis: | |
j.v.set(l=False,k=True) | |
#0にすると全部Hide | |
j.v.set(1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment