Any documentation about pdgattribvals function?

   891   2   2
User Avatar
Member
86 posts
Joined: Feb. 2019
Offline
Hi I am new to PDG,and in this tutorial he write some codes(called pdgattribvals function) to ZIP the output images , so Any documentation about how to wrtie those codes? If i want to do something outside Houdini such like Email or Zip after PDG ,Am I must write python?

Attachments:
无标题.png (488.0 KB)

User Avatar
Member
53 posts
Joined: Feb. 2017
Offline
The documentation is here; https://www.sidefx.com/docs/houdini/expressions/pdgattribvals.html [www.sidefx.com]
it will just return the values of the attribute with the name given in the parenthesis. So for whatever work_item is currently processing it will return the value of "image" and use that to retrieve and insert the path to the image file that is to be zipped. The function he uses is a common command-line/terminal function; https://www.geeksforgeeks.org/zip-command-in-linux-with-examples/ [www.geeksforgeeks.org]

Hope this helps you out, cheers!
Technical VFX artist @ Housemarque / Sony Interactive Entertainment
User Avatar
Member
86 posts
Joined: Feb. 2019
Offline
Robbert
The documentation is here; https://www.sidefx.com/docs/houdini/expressions/pdgattribvals.html [www.sidefx.com]
it will just return the values of the attribute with the name given in the parenthesis. So for whatever work_item is currently processing it will return the value of "image" and use that to retrieve and insert the path to the image file that is to be zipped. The function he uses is a common command-line/terminal function; https://www.geeksforgeeks.org/zip-command-in-linux-with-examples/ [www.geeksforgeeks.org]

Hope this helps you out, cheers!

Thank you , it very helpful to me
  • Quick Links