Easy Way to Set and Get parameter Values
-
Hey,
I need some information how to set and get a specific parameters:-
for example here on the render settings
-
On any node.
-
WHat's the easiest way to get a parameter id ( any object any parm ) ?
Thanks
Szabolcs -
-
I meant in python.
-
Hi ! @Gemini ,
You can simply drag and drop the parameter you want to Script Manager to get or set it.
Just like this:
-
-
Hi @Gemini,
In short, @gheyret is correct and the drag&drop feature is mostly used to explore the IDs that stay behind the attributes all across different parts of cinema. You can have a further look into our documentation, namely the Python Console Manual¶ describes this with some details on what to expect to see in the console.
Please note, knowing the correct ID is often not sufficient and you need to explore more, depending on the context of your attribute. For example, in your case the "Render pass file" is an attribute of the "Octane Renderer" videopost data. This is typically out of scope on this forum. However, this topic was tackled not once, e.g.
- Dunhou showed some Octane-specific approach
- Ferdinand showed general approach of accessing render settings
Cheers,
Ilia -
Thanks for your answer.