Why i get errors here?
expression(s="python ('ik[0] = -90 + A.Orient)",o= ik[0])
thanks
Why i get errors here?
expression(s="python ('ik[0] = -90 + A.Orient)",o= ik[0])
thanks
So i don't start another thread here is another problem :
I need to create a scriptJob from python and i look in the reference and the command does not exist.
So i tried stuff like
mel.scriptJob(ct="SomethingSelected","print 'some'")
But does not work
So how to create scriptJob from python guys?
thanks
Please guys anyone ???
I need to create scriptJob from python.This command is not in the python reference ,but pymel has it .
And why isn't this working ?
def a():
print 'a'
scriptJob(ct="SomethingSelected",a)
Nobody knows how to create a scriptJob from python ?????
QUOTE(pythonBoy @ 03/20/08, 07:45 AM) [snapback]282925[/snapback]
Please guys anyone ???
I need to create scriptJob from python.This command is not in the python reference ,but pymel has it .
And why isn't this working ?
def a():
print 'a'
scriptJob(ct="SomethingSelected",a)
I have to say I'm not a python-maya pro
but you are passing a function object that doesn't return anything to the function
a should return something, try put in return "a" or
if a is string, try a = "Value" then pass variable a to the function
hope this helps
Nah not really
Any other solution guys?