Jump to content

Brian

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Brian

  1. Thanks, Lorenzo.

    I'm so sorry, I misdescribed the problem, what I can't get the return value correctly is the entityType. When I am at the entity of Folder, Shot, or Milestone, the entityType return value is always a task. I try to use

    _context = self.session.get('Context',selection['entityId'])

    but the return is None.

    I can query the folders with

    session.query("Folder")

    but I can't catch them from

    event['data']['selection']

    image.png.159c3c1cea0c5ac3d8af8d0c764442b2.png

×
×
  • Create New...