I spend some time with Autodesk UFE documentation and found that SelectionChanged is a subclass from Notification class. It should work as a subscriber in Observer design pattern. There is also ufe.Observer class and ufe.ObserverSelection classes. Could anybody point me to documentation or example snippet, how I should configure those classes to implement SelectionChanged event for USD prims in Maya? On Thursday, June 23, 2022 at 4:50:27 PM UTC+2 riga_rig 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/9646551b-24b2-4962-80f0-11436854efd0n%40googlegroups.com.
