For anyone else who comes this way, I did not use UFE notifications in the 
end. Instead used a combination of UsdNotice and SdfNotice's from the USD 
api to facilitate the automation I needed.

On Friday, 13 October 2023 at 16:05:15 UTC+11 Phil S wrote:

> Im having some difficulty understanding how one is supposed to register a 
> UFE callback. Conceptually I understand the subject/observer pattern, but 
> in practice I dont see how to register a python callable to a particular 
> notification.
>
> Im trying to find a way to run a callback as USD layers are created in a 
> maya session.
>
> Appreciate any help!
>
> Phil

-- 
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/b02d654e-949e-4836-a8bd-65d53baf49d3n%40googlegroups.com.

Reply via email to