Fred
what this plug-in do is simply great. normally what you do in maya
automatically appears in script editor in MEL format. this plug-in
convert them to python(pymel) format. simply great. You can leran and
write in pymel with this tool.
Cheers.
i've started the process of getting a vista install working on my
mac. a few updates about compatibility:
8.5 - will not work on any platform
8.5 SP1 - tested and working on win32 (xp only thus far), osx, linux
32 and 64
2008 - tested and working on win32 (xp only thus far), osx, linux 32
2008 on linux64 does not work out of the box because autodesk forgot
to include a needed module, but i am working on a patch to get this
working.
zimm, your vista install, is it 32 or 64 bit? does anyone out there
have a 64-bit windows platform to test this on?
-chad
First up, brilliant stuff! Incredibly helpful to get my head around how maya
is treating python. Noticed one small possible bug, the script editor no
longer automatically scrolls down as the window fills up with information -
not a massive deal, but a bit annoying to constantly have to scroll it down
every time you need to see the output.
XP, latest build off google (28/02/08), maya 2008
Hth,
Jules
Love the translation - not getting the the window pushing down after
it fills up correctly from top to bottom.
new text is properly adding to the bottom.
Cheers, Jules
Hey Chad,
Just set it up on another machine to be sure, and same problem: the script
editor window does not scroll automatically at all (focus or no focus). To
clarify, no matter how much feedback you fill it up with it stays in the
same place, to see the content I have to scroll it down manually.
Not sure if this is relevant, but also get this in the output window when
starting up following installation of the plugin:
swig/python detected a memory leak of type 'MCallbackId *', no destructor
found.
Hth, Jules.
I'm getting the same problem as Jules.
Thanks,
JohnC
Regards,
Chris
Lizard Lounge Graphics, LTD.
Wellington, NZ
http://lizardlounge.com
VHF: ZL4CDM
Int'l: +644-977-5400 / +642-174-8770
NZ local: 04-977-5400 / 021-748-770
Is anyone else who is having this problem using maya2008 (no service
pack or extension2?)
Is anyone having success with this in maya2008extension2?
That said... with ext2....
each of the tests above doesn't advance the window until that window
is selected.
So you set it off in the scriptEditor and the numbers fill up the
window, but it doesn't scroll down. When you select the window the
scroll jumps to the bottom of the window where it should be. You set
off a few of the others or the same one and the numbers go in, but the
window doesn't scroll until you select the window again.
The one that has a little different behaviour is #4. The first time
through it acts like the others. Subsequent times through it retains
the view it was left with when you select the window again.(If you
leave it at the bottom, it seems to stay at the bottom, if you leave
it in the middle, it seems to stay in the middle)
Something else I am noticing:
I couldn't drag and drop from the History into my input panel, and the
context sensitive rmb menu didn't show up when over the history,
though it does over the input panel. I could select edit=>copy from
the scriptEditor menubar and the cut/paste hotkeys did work.
-johnC
Just push buttons and the numbers add in and the window doesn't update for me.
click in the white window first and the window begins to update
1 adds to the top
2 and 3 add to wherever they left off
4 adds to the bottom and jumps there without scrolling visibly
###########
from pymel import *
def clearWindow(*args):
tf.setText( '' )
def number1(*args):
pos=0
for x in range(400):
text = str(x) + '\n'
pos += len(text)
tf.insertText( text, insertionPosition=pos )
def number2(*args):
for x in range(500):
tf.insertText( str(x) + '\n', insertionPosition=0 )
def number3(*args):
for x in range(400):
tf.insertText( str(x) + '\n' )
def number4(*args):
tf.setText( '\n'.join( map( str, range(600) ) ) )
w = window(w=300,h=400)
columnLayout()
button(label='clearWindow',command=clearWindow)
button(label='number1',command=number1)
button(label='number2',command=number2)
button(label='number3',command=number3)
button(label='number4',command=number4)
paneLayout(w=200,h=200)
tf = scrollField()
columnLayout()
button(label='#1',command=number1)
w.show()
Close the scriptEditor and open it again and the scroll is back at the top.
Right click in the history and it jumps to the bottom.
Was looking for something like this before, but it was hiding, because
if you somehow (lmb) select a position in the history, then it thinks
you want to be there.
If you get stuck this way, scroll to the bottom and left click the
last line in the history, then the right click update starts working
again.
Also make sure maya can find your plugin when it auto re-loads
Seeing the scriptEditor all blank like that can be scary.
You'll have to manually load the plugin and then close and re-open the
scriptEditor to get it back.
from pymel import *
def clearWindow(*args):
tf.setText( '' )
#tf = scrollField()
columnLayout()
button(label='#1',command=number1)
w.show()
################################
w = window()
paneLayout()
tf = scrollField()
w.show()
#################################