It works as needed with scriptJob and with OpenMaya.EventMessage! Thank you Tim once more!
On Friday, June 24, 2022 at 10:41:38 AM UTC+2 riga_rig wrote: > Thank you Tim! > I just read all scriptJob command documentation and can't believe I > overlooked it. > I would test it right now. > > On Thursday, June 23, 2022 at 9:21:54 PM UTC+2 Tim wrote: > >> There is also a "UFESelectionChanged" event that you can use in >> scriptJob's. Have you tried that? >> >> -Tim >> >> On Thu, Jun 23, 2022 at 10:50 AM 'riga_rig' via Python Programming for >> Autodesk Maya <[email protected]> wrote: >> > >> > Hi! >> > I use "SelectionChanged" event callback to add items to PySide ComboBox. >> > It works quite good for native Maya objects, but unfortunately doesn't >> work for USD prims. >> > What is a proper way to create something like SelectionChanged callback >> for USD primitives? Is ufe.SelectionChanged() class could work for this? >> > Regards, >> > Oleg Solovjov >> > >> > -- >> > 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/67fe3a0b-2f05-4d83-bba7-e24073fcb853n%40googlegroups.com >> . >> > -- 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/93b51bef-a461-4231-ad86-a7aeda8ec300n%40googlegroups.com.
