Jamie Kenyon

Members
  • Content Count

    10
  • Joined

  • Last visited

Posts posted by Jamie Kenyon


  1. Hi @Lorenzo Angeli,

     

    Right - thanks for that.  So, my bad. The BaseAction class from ftrack_action_handler.action doesn't set the icon attribute. So I just had to reimplement BaseAction._discover() in my subclass.

     

    Problem solved. Thanks!


  2. I was wondering if its feasible to create a default asset that will be loaded by the Launch Maya Action?

     

    For example:  a user chooses the Maya Action from ftrack-connect and it launches Maya, but there is no asset on disk, so we'd need to create a default .mb file with something in it.

     

    After poking around the docs and ftrack-connect code, I'm thinking that perhaps the best way to achieve this would be to issue an event, for example, "my-custom-event". I'd have an event listener for this event and the handler could script the generation of the .mb file?


  3. I'm sure I'm doing something wrong, but....

    When using, ftrack_connect.application.ApplicationStore, whatever I supply for "icon" in _discoverApplications(), ftrack-connect always displays the "default" icon and not the one I supply...


  4. I was wondering if its feasible to create a default asset that will be loaded by the Launch Maya Action?

     

    So we choose the Maya Action from ftrack-connect and it launches Maya. But its at this point that I'd like to ensure that there is a default ".mb" file for Maya to load.