Can i get the render layer from a ASS file ?

Can i get the render layer from a ASS file ?

guillaume_roeder
Not applicable
1,199 Views
6 Replies
Message 1 of 7

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
1,200 Views
6 Replies
Replies (6)
Message 2 of 7

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
Message 3 of 7

guillaume_roeder
Not applicable

I see.

Is there a way to get those user data ?

And thank you by the way.


0 Likes
Message 4 of 7

guillaume_roeder
Not applicable

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

thank you !

0 Likes
Message 5 of 7

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
Message 6 of 7

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
Message 7 of 7

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