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/CALKD2Wqgdza%3DAVPJFkEM09r0yLsOpOraX6Cib5JhVTLh%3DtA14Q%40mail.gmail.com.
