Hi-
I've recently started playing with the Maya API using the python interface as i'm not yet familiar with C+ anyway... I've set up all the required infrastructure for catching flags and I can catch one of them but as soon as I add another to the MSyntax.addFlag I get an error.
heres the function:
CODE
def syntaxCreator():
syntax = OpenMaya.MSyntax()
syntax.addFlag(kRandomFlag, kRandomLongFlag, OpenMaya.MSyntax.kBoolean)
syntax.addFlag(kTopRateFlag, kTopRLongFlag, OpenMaya.MSyntax.kBoolean) #this line causes the error below
return syntax
heres the error: // Error: line 1: You are not licensed to use the "Kuler" command. //
any ideas what that means?
Thanks