Hi all!
I have a SG Field List that contains a list (Arnold, Redshift, Mantra…)
And when I try to retrieve the info, is said None and NoneType on the Filed type, but with a SG Text Field is retriving the info ok
What is the correct way to retrieve the info from a SG Field List ?
Thanks
I tried these:
filters = [
["sg_status", "in", ["Bidding", "Active", "Hold", "DEV"]],
['id', 'is', project_id]
]
fields = [
'name',
'sg_format_width',
'sg_format_height',
'sg_format_pixel_aspect_ratio',
'sg_frame_rate',
'sg_render_engine',
'sg_short_name'
]
project_info = sg.find_one('Project', filters, fields)
os.environ[“PROJECT_RENDER”] = str(project_info[“sg_render”])