Parameters Editor Scroll Position returns 0,0

   471   0   0
User Avatar
Member
14 posts
Joined: April 2020
Offline
Hey everyone!

I am currently working on a HDA that requires scroll position data on the Parameters panel. To achieve this, I have created a Python module function that is called when user interacts with certain parameters. However, I am facing an issue where the code always returns 0,0, even when the scroll position is not at 0%.

here is the code:
scrollpos = hou.ui.curDesktop().paneTabUnderCursor().scrollPosition()

any help would be greatly appreciated!
Edited by javadsadeghi - Nov. 27, 2023 06:13:38
  • Quick Links