Hi
I've been trying to find documentation on PublishedFileTypes entity, but I cant find anything that answers my questions. I'm currently making a publishing tool, and I'm not sure how to set the "published_file_type" field. I tried passing it a string, but it says "expected[hash, NilClass] data type(s)", So I'm not sure how I get the type from shotgun.
my line of code was:
pubType = "Rhino_Scene" self.sg.update("PublishedFile",
publishedFile['id'],
{'sg_hash' : sha1_hash,
'published_file_type' : pubType,
'tag_list' : [assType],
'sg_assembly_type':assType} )
In addition I'm not to sure what the importance publishedFileType is, where is it used, how are they created? I know I can create them in shotgun by going to the published file type page, but there were already a bunch there, some were duplicates and others that appear to have been created automatically, but I'm not sure.
I apologize if this is documented somewhere, I've been searching for "shotgun publishedFileTypes" and "shotgun published File Types".