How to use python open Draw Time FPS?

   650   4   0
User Avatar
Member
21 posts
Joined: 5月 2023
Offline

Attachments:
Snipaste_2024-07-31_20-35-51.jpg (47.4 KB)

User Avatar
Member
2624 posts
Joined: 6月 2008
Offline
You use it by enabling the checkbox. Then, when your timeline is playing, you'll see the FPS for the playback in the lower-right corner of the viewport. Quite handy. It should be on by default IMHO.
Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
スタッフ
5202 posts
Joined: 7月 2005
Offline
It's
viewer.curViewport().settings().enableGuide(hou.viewportGuide.ShowDrawTime, True)

where viewer is a SceneViewer object.
User Avatar
Member
11 posts
Joined: 1月 2022
Offline
亚历山大
It's
viewer.curViewport().settings().enableGuide(hou.viewportGuide.ShowDrawTime, True)

where viewer is a SceneViewer object.
Many thanks!!
User Avatar
Member
2 posts
Joined: 6月 2020
Offline
I've been unable to access this setting. I'm using the the code above with a SceneViewer object, but keep receiving the message:

File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.332/houdini/python3.10libs\hou.py", line 49563, in enableGuide
return _hou.GeometryViewportSettings_enableGuide(self, guide, enabled)
TypeError: in method 'GeometryViewportSettings_enableGuide', argument 2 of type 'HOM_EnumValue &'
  • Quick Links