Hi,
I'm currently working on a Python Script which will render ass files using kick. I managed to get everything working, but as soon as I want to make a mosaic of these renders, the imagemagick is throwing an error: “There are no images found”. I guess this is coming from the python script which execute kick and doesn't have the proper tag.
So I tried to add this:
pdgcmd.reportResultData(“path/to/image” server_addr=“127.0.0.1” result_data_tag=“file/image”) but the python script is always failling.
If I remove this line, the node is correctly executed but I can't use imagemagick downstream
Thanks for the help
Python Script set filetag
1927 2 0- Matthew05
- Member
- 94 posts
- Joined: 4月 2011
- Online
- BrookeA
- スタッフ
- 387 posts
- Joined: 8月 2017
- Offline
Hi there,
The pdgcmd module is for out-of-process jobs. Since you are running the Python script in-process, you can use this Python PDG API method:
Here is the docs page with more information: https://www.sidefx.com/docs/houdini/tops/pdg/WorkItem.html [www.sidefx.com]
The pdgcmd module is for out-of-process jobs. Since you are running the Python script in-process, you can use this Python PDG API method:
work_item.addResultData("/home/images/test.jpg", "file/image", 0)
Here is the docs page with more information: https://www.sidefx.com/docs/houdini/tops/pdg/WorkItem.html [www.sidefx.com]
- Matthew05
- Member
- 94 posts
- Joined: 4月 2011
- Online
-
- Quick Links