Hello,
Can you help me to get the result of the shotgun find output. I can see anything in work_item.data.allDataMap or parent_item.data.allDataMap.
Thank you
Clément HECTOR
Hello,
Can you help me to get the result of the shotgun find output. I can see anything in work_item.data.allDataMap or parent_item.data.allDataMap.
Thank you
entity_types = pdg.resultData(parent_item, "shotgun/find_entity_type", as_list=True)
entity_dicts = pdg.resultData(parent_item, "shotgun/find_entity_dict", as_list=True)
entity_ids = pdg.resultData(parent_item, "shotgun/find_entity_id", as_list=True)
for x in xrange(0, len(entity_ids)):
work_item.data.setInt("entity_ids", int(entity_ids[x]), x)
work_item.data.setString("entity_types", entity_types[x], x)
work_item.data.setString("entity_dicts", entity_dicts[x], x)