Alberto GZ Posted May 11, 2016 Report Share Posted May 11, 2016 I need a event listener to change a custom type getting value from object.name. Exemplify this: 1. I created a custom object called Image 2. For Image object I created three new types: ambient, detail and variant 3. Image.name follow this coding: 001_ABC_XYZ_AMB01, 001_ABC_XYZ_DET01, 001_ABC_XYZ_VAR01... The event listener should be read each Image.name in the project and assign Image.type to ambient, detail, or variant according to find string in name. AMB=ambient; DET=detail; VAR=variant I readed dev docs for handling events in FTrack, but I would need a basic tutorial to create and use a event listener, because I have some doubts and questions. For example, once downloaded ftrack-api, where I should copy these files? files that contains python code for events, where I put them? in a folder called Events inside ftrack-api folder structure? These and other questions like that I have. Someone knows any tutorial to create and use event listener in FTrack? Thanks! Link to comment Share on other sites More sharing options...
tokejepsen Posted May 13, 2016 Report Share Posted May 13, 2016 Hey, Have a look at this repository; https://github.com/tokejepsen/ftrack-event-server and the plugins here; https://github.com/tokejepsen/ftrack-event-plugins We have been using this for a long time now, and it works great. Let me know if you have any problems or questions about it. Link to comment Share on other sites More sharing options...
Alberto GZ Posted May 17, 2016 Author Report Share Posted May 17, 2016 Thanks so much! My problem is that I still have no clear how to run a simple event listener. As not find a basic step-by-step tutorial to do this. Link to comment Share on other sites More sharing options...
Kym Watts Posted October 27, 2016 Report Share Posted October 27, 2016 Thanks for sharing your github examples, this just made my day. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.