Conditional statements in .mtd file

Conditional statements in .mtd file

zenop
Advocate Advocate
653 Views
2 Replies
Message 1 of 3

Conditional statements in .mtd file

zenop
Advocate
Advocate

Hi,

Is it possible to use conditional statements in a shaders' metadata file?

E.g, for different options in a dropdown, I'd like to specify different min/max values for other parameters.

0 Likes
Accepted solutions (1)
654 Views
2 Replies
Replies (2)
Message 2 of 3

Stephen.Blair
Community Manager
Community Manager
Accepted solution

No, the metadata is basically just IDENTIFIER=value, there's no conditional statements.

That kind of thing has to be handled in the custom UI code of the DCC (eg the ae templates in maya)



// Stephen Blair
// Arnold Renderer Support
0 Likes
Message 3 of 3

zenop
Advocate
Advocate

Thought so, thanks for confirming.

0 Likes