Parameters Editor Scroll Position returns 0,0

   465   0   0
User Avatar
Member
14 posts
Joined: 4月 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 - 2023年11月27日 06:13:38
  • Quick Links