Jump to content

accessing custom attributes which are only defined in project


cschnell

Recommended Posts

Hi,

I have defined some custom attributes for a specific project, but with the python_api, only the "all-project" attributes are available.

e.g.

shot = session.create("Shot", {"name":"Foo", "parent":sequence......})

print shot["custom_attributes"].keys()

gives me only the attributes marked for "all projects".

If I make my  attribute available for all projects, everything is working fine and my attribute is also listed.

I do not want to hold all attributes global, so how can I access the attributes which are only defined in a specific project?

 

Thanks for your help

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...