I can't figure out how to modify attributes in a top network via a python script node. I understand how to read this information but not how to write it back. See the example setup below.
I'm a complete pdg/TOPs noob and have only done very little with python in Houdini yet, so this is probably a completely obvious thing for others.
Any help would be much appreciated.
Modify attributes via Python Script node
1919 2 1- racoonart
- Member
- 22 posts
- Joined: Feb. 2017
- Offline
- kenxu
- Member
- 544 posts
- Joined: Sept. 2012
- Offline
- racoonart
- Member
- 22 posts
- Joined: Feb. 2017
- Offline
Thank you very much for the input, I would never have found that myself (well, I already tried the whole day ). The drop down on the right only has 2 very short snippets, maybe it's worth adding more in the future.
The hint for the pdg api documentation is very useful. I looked specifically for python node related docs and didn't find any clue how to access data. I also, for some reason, didn't see the link to the “Python API” or didn't think it was related. Thanks again for the pointer!
The hint for the pdg api documentation is very useful. I looked specifically for python node related docs and didn't find any clue how to access data. I also, for some reason, didn't see the link to the “Python API” or didn't think it was related. Thanks again for the pointer!
-
- Quick Links