Hello all, If I try to unparent an object but the object is already part of the world then the following command results in an error:
>> parent(anyObject, world = True) # Error: Maya command error # Traceback (most recent call last): # File "<maya console>", line 1, in <module> # File "C:\Program Files\Autodesk\Maya2011\Python\lib\site-packages \pymel\internal\pmcmds.py", line 98, in wrappedCmd # res = new_cmd(*new_args, **new_kwargs) # RuntimeError: Maya command error # However if I do the same from within maya with the unparent 'buton' only get a warning message saying: # Warning: line 0: Object, 'myObject', skipped. It is already a child of the parent, 'world'. # Is this just a bug within pymel ? Or am I missing something here? Greets Red -- http://groups.google.com/group/python_inside_maya
