Hi Will - dpi settings are non-existent in V8 so far - (leaving it in the command line version of DocumentProperties is a goof) there has been some discussion here about this - can you tell me how you would use this number, if it worked?
Thanks for your attention to the topic, DPI setings is just an example, the point is that all render settings are not stored after setting them by command line.
Changing the resolution for example from “Viewport” to “Custom” and setting the “Width” and “Height” is also not saved, you can see it in the gif in the first post or just running the following command:
Seeing this one only now, but hopefully better late than never:
You shouldn’t set directly to the document render settings, but instead first get the render settings into a variable and make the changes there. Finally set the render settings back to the document: