Hello there..
I'm trying to get all values from "sg_asset_type" Asset Field. Usually is a list with "Character, Vehicle, Prop, Environment, Matte Painting" but i'm not sure which entity I can use to get the whole list since sg.find("Asset",[],['sg_asset_type']) just returns sg_asset_type from existing assets, and that is not what i'm looking for.
Thanks.
날짜
투표수
댓글 2개
-
Rob Blau 공식 댓글 Hey there, to get the valid values you want to look at the the schema calls in the api. For the sg_asset_type fields, you can get at the info with a call like this:
shotgun.schema_field_read("Asset", "sg_asset_type")["sg_asset_type"]["properties"]["valid_values"]["value"] -
mb0rt Thx Rob.
댓글을 남기려면 로그인하세요.