Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Can i get the render layer from a ASS file ?

guillaume_roeder

Can i get the render layer from a ASS file ?

guillaume_roeder
Not applicable

hi !

Does anybody know how to get the render layer from a ass file ?

I've tried using the arnold api, but i could'nt find a way ... when i open the ass file, i can see the render layer in the "options" struct, and i successfully listed all the paramters in the options node using the node entry api from anrold, but there are no render_layers in the list...

plz help !

0 Likes
Reply
637 Views
6 Replies
Replies (6)

Stephen.Blair
Community Manager
Community Manager

An ASS file is basically a baked version of whatever the current render layer was in Maya.
Arnold itself has no concept of "render layers".

MtoA adds some user data to the options node, to tell you what render layer was baked to the ASS file.



// Stephen Blair
// Arnold Renderer Support
0 Likes

guillaume_roeder
Not applicable

I see.

Is there a way to get those user data ?

And thank you by the way.


0 Likes

guillaume_roeder
Not applicable

Ignore my previous question i found the user data API 🙂 !

thank you !

0 Likes

guillaume_roeder
Not applicable

My bad... user data api doesn't work.
So i go back to my previous question:

Is there a way to get the user data ?

0 Likes

Stephen.Blair
Community Manager
Community Manager

AiNodeLookUpUserParameter
Are you sure you are getting the options node from the right universe?



// Stephen Blair
// Arnold Renderer Support
0 Likes

guillaume_roeder
Not applicable

I succeeded in getting the UserParameterEntry, now i juste need to find a way to get ne name of the layer.

Thank you 🙂

0 Likes