prPanelCtx (2023.11.21)
# DESCRIPTION
Demo video: https://vimeo.com/pazrot/prPanelCtx
Temporarily sets (Panel > Show > types) while:
- dragging the translate/rotate/scale tools
- timeline dragging
- timeline playback
The purpose is to have a clear view of the deforming geometry.
To customize the context you can use all flags of the MEL command "modelEditor".
Technical: This script creates a scriptJob (SelectionChanged) and an OpenMaya.MConditionMessage (playingBack)
# INSTALLATION
Copy this file ("prPanelCtx.py") into your ".../maya/scripts" folder.
# USAGE
import prPanelCtx
prPanelCtx.enable(manipulators=False, nurbsCurves=False, locators=False, controllers=False, dimensions=False)
#prPanelCtx.disable()
# Alternatively you can also use a toggle command (toggles between enable and disable)
import prPanelCtx
prPanelCtx.toggle(manipulators=False, nurbsCurves=False, locators=False, controllers=False, dimensions=False)
# VERSIONS
2023-11-21 / 2023.11.21: python 3 support (maya >2022.x)
2023-10-01 / 2023.0: First proper version release
Named individual license