Note: This is not a duplicate of this question: How can I run blender from command line or a python script without opening a GUI?
That question only addresses rendering, not modifying parameters in a closed file without a GUI.
I'm currently rendering a Blender scene using Colab.
The problem is that I have to constantly upload a new file to my Google drive with altered settings if I want to alter settings.
Is it possible to alter parameters (such as a parameter in a node like "Density"), and settings like resolution percentage from the command line or from Python by opening the .blend file and reading and writing to it?
I would need to be able to alter the settings not by opening blender but either through the command line or through python.
blender --background --python myscript.py, an expression, or even the console: https://docs.blender.org/manual/en/latest/advanced/command_line/arguments.html#python-options Suggest to add the current state of your code to your question. – brockmann Mar 03 '21 at 08:02