sonictk

Members
  • Content Count

    12
  • Joined

  • Last visited

  • Days Won

    2

Reputation Activity

  1. Like
    sonictk got a reaction from Carl Claesson in Download all Components from AssetVersion   
    Hi all:
     
    Been working on ftrack 3ds max integration for our studio for the past few months, so finally getting into actions/events/etc. Just to get this place started, here's an Action I made that I have no idea how everyone else on ftrack works without; the ability to download all Components at once from an AssetVersion. Ideally, I'd like to be able to integrate a Tkinter/Qt UI for choosing the file directory to save files to, but right now that doesn't seem to work, and I can't figure out why (since nothing gets piped to stderr/stdout when I execute a simple Tkinter fileDialog.askDirectory())
     
    Actually, ideally I'd love to be able to zip the components on the server and generate a download link to that, but I can't figure out how to get boto (S3) to do that. So for now I just multithread the downloads.
     
    You will need to modify this action to suit your needs (Since you obviously won't have a frostburnS3Accessor class, which really is just a subclass of ftrack.S3Accessor with a few additional methods such as getting the resolved URL of a key on S3. Just replace all of that with whatever type of Accessor that your studio is using)
     
    http://pastebin.com/DCPsBbsA
     
    Hope this helps get the ball rolling in here!
  2. Like
    sonictk got a reaction from Fredrik Limsater in Download all Components from AssetVersion   
    Hi all:
     
    Been working on ftrack 3ds max integration for our studio for the past few months, so finally getting into actions/events/etc. Just to get this place started, here's an Action I made that I have no idea how everyone else on ftrack works without; the ability to download all Components at once from an AssetVersion. Ideally, I'd like to be able to integrate a Tkinter/Qt UI for choosing the file directory to save files to, but right now that doesn't seem to work, and I can't figure out why (since nothing gets piped to stderr/stdout when I execute a simple Tkinter fileDialog.askDirectory())
     
    Actually, ideally I'd love to be able to zip the components on the server and generate a download link to that, but I can't figure out how to get boto (S3) to do that. So for now I just multithread the downloads.
     
    You will need to modify this action to suit your needs (Since you obviously won't have a frostburnS3Accessor class, which really is just a subclass of ftrack.S3Accessor with a few additional methods such as getting the resolved URL of a key on S3. Just replace all of that with whatever type of Accessor that your studio is using)
     
    http://pastebin.com/DCPsBbsA
     
    Hope this helps get the ball rolling in here!
  3. Like
    sonictk reacted to Carl Claesson in [3ds max] Substantial delay on first invocation of ftrack.setup()   
    Hi,
     
    The delay you experience in 3ds max is due to the Python version(2.7.3) used in the software which contains an issue with OpenSSL. The issue has been resolved in Python >= 2.7.4 and we have a workaround for this and are having a discussion with Autodesk about how to solve it more permanently.
     
    If anyone is having the same issue integrating with 3ds max, please contact support@ftrack.com and we'll help you solve it.
     
    Regards,
    Carl
  4. Like
    sonictk reacted to Erik in [ftrack] Get version of API package currently being used   
    import ftrackprint ftrack.api.version_data.ftrackVersionMight be a better way but this works.
     
    //Erik