XM Magdalena 3D print, GGeorgy (3D)
LC #42 Pipers Alley

View Full Version : Limit history panel lines

02-03-2011, 04:27 AM
Does anybody know a way to limit the number of lines in Maya script editor history?
i.e; if the limit is 50 and a new line adds to history, the first line should be deleted from history panel.

02-03-2011, 09:27 AM
why on EARTH would anyone want or need this behaviour..? :curious:


02-03-2011, 10:36 AM
its useful for me when debugging my scripts (by 'print' statements).
Else, i have to clear history frequently.

02-03-2011, 11:21 AM
just put a call to the clear history command into the start of your script, or write a little function launcher that sources your given file, clears the script Editor then runs your function.
scriptEditorInfo -ch;:nathaN

02-03-2011, 11:40 AM
ok, thank you..
but i thought there can be some optionVar in userPrefs, or so in order to limit the history write, which can be a better way in my case than clearing the full history.

CGTalk Moderation
02-03-2011, 11:40 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.