For the panelayout query are you getting a result? Also if you are running from script editor then it will most likely never be active.
For the sets, I believe the objects should be first and the set should be the value for addElement On Jan 31, 2015 11:37 AM, <[email protected]> wrote: > ok, I'm not having a good day, :( lol. > > could someone please explain why this isnt working either? > > set = cmds.sets(name='sillySet', empty=True) > object = cmds.polyCube(name='sillyCube')[0] > cmds.sets(set, edit=True, addElement=object) > > #RuntimeError: The argument provided is NOT a set # > > > didn't feel the need to start a new threat for this, hope that's cool. > Thanks > Kev > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/e104dbb5-d349-4b3b-96f1-b6c5f4e4dd1a%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAM9RXoLcB1RVR2UYECXvmOfA1%2B664y%2Bwt6MsH%2BSqu%2B%3DYQXyFXw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
