Skip to content

Instantly share code, notes, and snippets.

@bohdon
Created June 10, 2020 19:56
Show Gist options
  • Select an option

  • Save bohdon/7ba68ab894ece5365933e3599ac7aa4e to your computer and use it in GitHub Desktop.

Select an option

Save bohdon/7ba68ab894ece5365933e3599ac7aa4e to your computer and use it in GitHub Desktop.
Select rotateAxis on all selected nodes in Maya
import pymel.core as pm
rotateAxes = [s.rotateAxis for s in pm.selected()]
pm.select(rotateAxes)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment