Skip to content

Instantly share code, notes, and snippets.

@justsh
Created August 31, 2024 07:55
Show Gist options
  • Select an option

  • Save justsh/8171646dbcfdce66874e4760516b4ae3 to your computer and use it in GitHub Desktop.

Select an option

Save justsh/8171646dbcfdce66874e4760516b4ae3 to your computer and use it in GitHub Desktop.
uses the mel-based print function to print from python
# Not all print statements in maya show up in Command Line output bar
# This is an alternative to pymel's display* print statements
import pymel.core as pm
def mprint(*args):
print_args = ("//",) + args + ("//\n",)
pm.mel.mprint(*print_args)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment