Happy to help!
Couple things you might want to correct in your latest pastebin.
Your create method takes a setList variable but you are actually referencing
that global list you make at the bottom and ignoring what you pass in:
for i in setnames:
Should be:
for i in setList:
The other two things are super minor, at the bottom. The split() isn't doing
anything since it would require you assigning the results to something. And you
probably don't need to split on a comma anyways anymore. Also, try to avoid
using variable that shadow the builtin objects. "set" is a built in container
type.
On Nov 6, 2012, at 8:41 AM, Don Campbell IV <[email protected]> wrote:
> Hi Justin,
>
> Big thanks and so quick! Ok here is my code. I am playing around with a rig
> from this talented rigger and I want have easier access to the quick
> selection sets he created. Thats what started me down this road. He had all
> sets prefixed with qss. So finding them was pretty easy.
>
> http://www.joshburton.com/projects/morpheus.asp
>
> Here is the updated code that gets all the prefixed quick selects from with
> in maya.
>
> http://pastebin.com/phchsNCy
>
>
> In the future I would want to make the prefix user definable and or just
> simply list the user created quick select sets that only selects the sets( no
> keying or other actions)
>
> Thanks a bunch Justin!
>
> Don
>
>
> --
> view archives: http://groups.google.com/group/python_inside_maya
> change your subscription settings:
> http://groups.google.com/group/python_inside_maya/subscribe
--
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings:
http://groups.google.com/group/python_inside_maya/subscribe