Mattias Lagergren

Administrators
  • Content Count

    1,075
  • Joined

  • Last visited

  • Days Won

    86

Mattias Lagergren last won the day on January 8

Mattias Lagergren had the most liked content!

2 Followers

About Mattias Lagergren

  • Rank
    ftrack developer
  • Birthday 12/18/1985

Profile Information

  • Gender
    Male
  • Location
    Stockholm, Sweden

Recent Profile Visitors

2,155 profile views
  1. Mattias Lagergren

    send custom notifications via ftrack_api

    No updates as of now - as an additional workaround, have you looked into writing a message (note without parent) to the user? This should trigger a notification note = session.create('Note', { 'content': 'hey', 'user_id': author_user_id}) sesssion.create('Recipient', { 'note_id': note['id'], 'resource_id': target_user_id }) session.commit()
  2. Mattias Lagergren

    Component/Version/Asset from path

    Hi Patrick, There is no convenience method for this in the new api but you should be able achieve the same by a naive: session.query('TypedContext where name is foo and parent.name is bar and parent.parent.name is baz')
  3. Mattias Lagergren

    How is Version's Asset supposed to be used?

    Hi John Su and welcome to the forums. An asset version (AssetVersion in the API) is a bundle of files that are incrementally versioned (1, 2, 3) et.c. An example of an asset could be a Car model with versions 1, 2, 3 and 4. Each of the versions can contain a number of different files (called components in ftrack) for different LOD levels or for previewing the model. Asset (name: Car model, type: Model) -> AssetVersion (version: 1) -> AssetVersion (version: 2) -> AssetVersion (version: 3) -> AssetVersion (version: 4) If the model is to be re-used across multiple shots, he would likely publish this under an "Asset build" in ftrack. An "Asset build" in this case is a folder like object in ftrack (same as Shot, Sequence etc.). If there are multiple Assets that makes up the Asset build (Shaders, Rigs etc.) they would be published as Assets as well. Then later when production has started, an animator picks up and import the latest Car model Asset into his scene, does his magic and publish an animation asset to his shot. This is a new Asset with a separate stream of versions: Asset (name: Crashing car, type: Animation) -> AssetVersion (version: 1) -> AssetVersion (version: 2)
  4. Mattias Lagergren

    Store the event data

    Not planned at the moment but something that might be considered for the future. There is a difference between these types of events, as "ftrack.update" is emitted from the server - where as ftrack.action comes from a user's web browser / similar.
  5. Mattias Lagergren

    get latest versions - only one per task

    Cool, thanks - I will put up as a feature request.
  6. Mattias Lagergren

    get latest versions - only one per task

    Thanks but I'm afraid I'm not 100% sure I follow this, is it a task or a shot that you would open in the sidebar? I understand it as you: 1. Open an entity (Shot, Sequence?) in the sidebar and look at the versions tab. 2. From the versions tab you want to only see the latest version per task - so if there are multiple assets you would only see 1, which is the latest.
  7. Mattias Lagergren

    Upcoming dates - documentation

    We will look at clarifying the documentation. For the widget as it is on a "Custom dashboard" there are some options to customise it, for the My tasks it is not. I can mention that it is possible in +4.0 to create a Cross-project view looking at Milestones from "Overview" - there you should have options to filter and change what type of attributes you look at.
  8. Mattias Lagergren

    get latest versions - only one per task

    Just to clarify, was this in the Versions page?
  9. Mattias Lagergren

    General Custom Atribut Collumn

    Hi Jex, from System settings you are able to create custom attributes that are available on all projects. And you can also create an enumerator type of attribute to represent "Reuse, partialReuse, new"
  10. Thank you for reaching out Tilt, one thing to help us debug this is if you could wrap you problematic statements in a try-except block and print some variables. I'd like to understand if this is a problem in the api client, backend or something related to the Shot/AssetVersion configuration: try: ... except: print asset_version['link'] # Or print shot['link'] or others raise When you know the entity you could re-run the action to see if you got the same issue. And then work backwards from that. Another idea is to see what happens if you run the action on a Shot that has not been saved in your Tasks spreadsheet.
  11. Mattias Lagergren

    get latest versions - only one per task

    Hi Remus, from the web interface the "Latest version" box is the closest that you can get. Or simply sort on the "Published" column in the Sidebar Versions tab and look at the top one
  12. Mattias Lagergren

    in-task checklists

    Remus, no checklist/todos has been implemented - the closes thing is what you've found regarding note completion. But this more related to feedback and seeing if it has been addressed or not
  13. Mattias Lagergren

    Custom Attribute must be set

    Hi Peter, I'm afraid it is not possible to set the custom attribute to mandatory. But I think it makes sense and will raise it as a feature request with the team
  14. Mattias Lagergren

    Milestone upload error

    Hi, this looks like a bug and I will raise it with the team. Thanks for reporting!
  15. Mattias Lagergren

    Unpersisted operation

    Hi Kim-a, Could you provide a minimal, self-contained script that I can run to reproduce this issue? As small as possible