-
What is the easiest way to edit a scene without touching the XML file? For instance if I load the bathroom scene
I get
I want to change the film filter. The obvious approach is
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @treder We don't provide any utilities for such changes currently. The I have personally found it convenient to use a Python XML parser to extract the tree from the file, modify it, write it a new temporary file and then |
Beta Was this translation helpful? Give feedback.
Hi @treder
We don't provide any utilities for such changes currently. The
mi.traverse()
function is only useful for tuning parameters of a plugin, not changing entire plugins.I have personally found it convenient to use a Python XML parser to extract the tree from the file, modify it, write it a new temporary file and then
mi.load_file
this temporary file.