Making The output file size an attribute
2123 2 0- SuekieZA
- Member
- 12 posts
- Joined: 2月 2018
- Offline
- kenxu
- Member
- 544 posts
- Joined: 9月 2012
- Offline
Yes, the output file size is an intrinsic property on workitems (not a regular attribute). It is something we don’t want downstream workitems to inherit, which would be true if it’s an attribute. To make it into an attribute, we looking into making an attribute promote node that can do such things (and more), but in the mean time the best thing is to use a python processor. You can access the upstream workitem and create an attribute from the upstream workitem’s file size. Note that by doing this your node (and thus downstream graph) will need to be dynamic - the file size is not known until the upstream item is actually computed.
Edited by kenxu - 2019年9月5日 17:49:28
- Ken Xu
- SuekieZA
- Member
- 12 posts
- Joined: 2月 2018
- Offline
-
- Quick Links