How to open the node comment editor dialog with Python?
932 3 2-
- alexmajewski
- Member
- 109 posts
- Joined: Aug. 2017
- Offline
-
- vikus
- Member
- 247 posts
- Joined: May 2017
- Offline
You can open the comment ui with:
But it is not usable. Some missing value that has to be set, but cant figure it out since the ui file is encoded.
Instead you can try readInput [www.sidefx.com] Dialog, probably not the best way to write long comments, but should work.
dialog = hou.ui.createDialog('OPUI_Comment.ui') dialog.setValue('nodeName', 'node_name') dialog.setValue('openWindow', True)
$HH/config/Applications/OPUI_Comment.uiInstead you can try readInput [www.sidefx.com] Dialog, probably not the best way to write long comments, but should work.
-
- alexmajewski
- Member
- 109 posts
- Joined: Aug. 2017
- Offline
-
- vikus
- Member
- 247 posts
- Joined: May 2017
- Offline
-
- Quick Links

