Please, as in the attached picture ... Display, Image Resolution: Viewport Size. Is there a way to set it with Python, or HScript?
I haven't found it here or anywhere else:
https://www.sidefx.com/docs/houdini/hom/hou/SceneViewer.html [www.sidefx.com]
Display, Image Resolution: Viewport Size, set it with Python
1342 1 2- ikoon
- Member
- 206 posts
- Joined: Jan. 2016
- Offline
- ikoon
- Member
- 206 posts
- Joined: Jan. 2016
- Offline
I got this answer from the Support
Support
I am told there is no HOM command but the hscript command is:
`sceneviewopts -R <fixed_res_x> <fixed_res_y> -S <res_scale> -V on|off -F on|off <viewport_path>`
-V is "use viewport size"
-F is "use fixed size"
FWIW, none of the render options on the Render tab are saved in the display options. Those options almost belong in another dialog altogether (as they aren't display options), but it seemed easier to keep them all in one spot.
-
- Quick Links