Is there such a thing as a global attribute that's shared between workitems?
I got a very large piece of json that each workitem needs to get things from. With the current setup the entire json is copied to each workitem which is a bit of a waste of memory... but worse inspecting a workitem's properties takes more then a few seconds to open because it's trying to display this large json object in the popup.
I could make an hda the loads the json and have the pdg python processor access the json from the hda's script module.
But something similar to sop's detail attribute for pdg streams would be cool to have!
PDG global properties
1563 2 1- Jonathan de Blok
- Member
- 253 posts
- Joined: 7月 2013
- Offline
- Enivob
- Member
- 2537 posts
- Joined: 6月 2008
- Offline
- tpetrick
- スタッフ
- 586 posts
- Joined: 5月 2014
- Offline
All built-ins begin with the pdg_ prefix, for example @pdg_index or @pdg_frame. The list of built-in attributes are specified here in the docs: https://www.sidefx.com/docs/houdini/tops/attributes.html#builtin [www.sidefx.com]
Additionally, each individual node doc has a section that specifies the attributes added to work items by that node. For example, the ROP Fetch: https://www.sidefx.com/docs/houdini/nodes/top/ropfetch.html [www.sidefx.com]
As for global attributes, there isn't anything quite like that right now but it sounds like a good RFE.
Additionally, each individual node doc has a section that specifies the attributes added to work items by that node. For example, the ROP Fetch: https://www.sidefx.com/docs/houdini/nodes/top/ropfetch.html [www.sidefx.com]
As for global attributes, there isn't anything quite like that right now but it sounds like a good RFE.
-
- Quick Links