Hello,
I've looked around the internet and found some resources that very closely resemble what I'm trying to do, but I haven't figured out how to tailor those solutions for my specific case.
What I'm trying to do is embarrassingly simple:
I have a button in an HDA. I simply want to add a callback script to that button that will turn on the display flag for that node containing the button. I have been trying to get the python below to work, with no success.
hou.node.setDisplayFlag(True)
I get the error:
'Function object has no attribute 'setDisplayFlag'
I'm guessing that I'm not specifying the node correctly, or am not specifying the display parameter correctly.
Is there anyone more versed in python than I who can tell me what I'm doing wrong?
Callback Button Function for Display Flag
507 2 1- GorbMocker45
- Member
- 11 posts
- Joined: July 2024
- Offline
- Jonathan de Blok
- Member
- 274 posts
- Joined: July 2013
- Offline
- GorbMocker45
- Member
- 11 posts
- Joined: July 2024
- Offline
-
- Quick Links