Hi, I wanted to read a value selected in a string parameter (menu, with defined tokens and labels):
In the code this line:
imageFormat = hdaNode.parm('imageFormat').eval()
defines an empty string. "hdaNode.parm('imageFormat')" is non null - "imageFormat" is a Name of this string parameter.
I used the same approach to read a file-directory parameters and it was working well.
Am I missing something?
hdaNode.parm('menuBox').eval() returns an empty string
1194 0 0- archound
- Member
- 2 posts
- Joined: Nov. 2017
- Offline
-
- Quick Links