Here's my guess as to what's happening... I think the filter option you're looking for has been in Maya forever, but there might have been a bug where it didn't work when Maya first starts. I'm not sure what exactly you have to do to get it to start working, like maybe you can toggle the option in the UI, but the option to sync the graph editor to what the channel box has selected is there. You probably run your script and it "fixes" the existing Maya option, and then you try to turn yours off and Maya's is now running. Try turning on/off Maya's option to see if that works, it's in the Channel Box menu: "Sync Selection In Graph Editor".
-Tim [image: image.png] On Mon, Aug 7, 2023 at 2:07 PM Darwin Giordano <dg3...@gmail.com> wrote: > > Ravi Jagannadhan, the issue seems to be more complicated to solve, I > can't stop the graph editor filtering. > > El domingo, 6 de agosto de 2023 a las 12:42:40 UTC-3, Ravi Jagannadhan > escribió: > >> Have you tried replacing the scriptjob with a dummy of the same name that >> does nothing? >> >> — >> “There are no dumb questions” - Carl Sagan >> ------------------------------ >> *From:* python_in...@googlegroups.com <python_in...@googlegroups.com> on >> behalf of Darwin Giordano <dg3...@gmail.com> >> *Sent:* Saturday, August 5, 2023 6:40:05 PM >> *To:* Python Programming for Autodesk Maya <python_in...@googlegroups.com >> > >> *Subject:* Re: [Maya-Python] Attribute filtering. >> >> Hi Chris >> >> I don't have solid knowledge to investigate it further, I must stop the >> investigation here, I've been here for a week now and I have no progress. I >> appreciate your suggestion, I've been looking around a bit and I'm still in >> the same place. >> >> El sábado, 5 de agosto de 2023 a las 20:40:51 UTC-3, Chris Granados- Xian >> escribió: >> >> Hi there! >> >> Have you tried deleting the selectionConnection by using deleteUI as the >> docs for that command indicate? >> >> Never used that command myself, but it sounds like you wouldn't even need >> the scriptJob if it is a shared selection model. >> >> On Sat, Aug 5, 2023 at 8:22 PM Darwin Giordano <dg3...@gmail.com> wrote: >> >> Here I show you a code that I am making to filter only what is selected >> from the channelbox to the graph editor, it turns out that I can't stop the >> filtering after executing kill scriptjob, etc, >> >> I can't get the filtering to stop with the tests I'm doing so I publish >> as far as I can, it filters the attribute but I can't get it to stop >> filtering when the user wants it to. >> if there is someone who can find another way to this I'm sure many >> animators would be grateful! >> [image: filter.gif] >> >> -- >> 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 python_inside_m...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/python_inside_maya/b0fd72a0-ddda-403b-9308-2fa9b9cee46dn%40googlegroups.com >> <https://groups.google.com/d/msgid/python_inside_maya/b0fd72a0-ddda-403b-9308-2fa9b9cee46dn%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> >> >> -- >> *CHRIS GRANADOS - Xian* >> Character Animator- CG Supervisor >> www.chrisgranados.com >> Cel.: +(54911) 40640097 >> Tel.: +(5411) 45460877 <+54%2011%204546-0877> >> Bs. As., Argentina >> >> -- >> 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 python_inside_m...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/python_inside_maya/32c1ecec-cc35-4a5e-ba80-d13429c9de94n%40googlegroups.com >> <https://groups.google.com/d/msgid/python_inside_maya/32c1ecec-cc35-4a5e-ba80-d13429c9de94n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > 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 python_inside_maya+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/bbf9a9f3-bc6f-45a6-9469-0d001fd4575an%40googlegroups.com > <https://groups.google.com/d/msgid/python_inside_maya/bbf9a9f3-bc6f-45a6-9469-0d001fd4575an%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CALKD2WqGL8knubv2oDx8MaKw%2BbtPzNDyLpkbLB1xkRZR2cGLRw%40mail.gmail.com.