Ok.. strange bug I have noticed in Maya 2012.. wondering who else has it...

I am trying to print out data to just copy and paste, but for some reason.. the command "scriptEditorInfo -ch;" inside of a global proc, or a script automatically clears the history as the tool starts.. then it repeats at the end!!! why did they change something that was not broken?!?!

unless theres something I am un-aware of, I have used scriptEditorInfo -ch; for many years now, this is a first time its acted this way...

heres a little test script to show what it does...

{

scriptEditorInfo -ch;

$all = ls;

print $all;

}

this should clear the script editor history, then list all objects in the scene.. yet it clears the script editor history again...

  • created

    Aug '11
  • last reply

    Aug '11
  • 1

    reply

  • 2.7k

    views

  • 1

    user

found myself a quazi workaround.. incase others want to do something similar (clear history, print out info)

if you create yourself a UI window, that runs all your print commands, you can manually clear the history, and the UI doesnt give any feedback to script editor (unless you turn on echo all commands)

im sure there are plenty of other workarounds... (fwrite for example...) but quick and dirty is a simple UI and manual clearing the hisotry