Thanks for the tip Cesar. Iterating is bad habit from my Mel days I think. However the removal of duplicates is probably a good idea if Sam is going to extend this code to beyond just selection. Unless I am mistaken my tests show that if there are more than one nurbsCurve shape under a transform then the transform will be listed more than once when listing relatives, which makes sense. No big deal if just selecting, but probably good to remove for other purposes perhaps?
On Tue, Mar 10, 2015 at 7:04 AM, <[email protected]> wrote: > wow, simple as that. thanks all for your help here! > > Sam > > -- > 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/a3bf69f4-2a24-443f-a548-f3fc19405eda%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/CADKA4Cq7Oj0jjVEDHpwfCToGP_jYmHf%2BWx_NRVXLqF3vv3QN%3DQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
