how to access data of upstream to build work items
for example `nprims` of upstream to build `nprims` number of work items
weswthanks a lot.
if you want to create 1 workitem per primitive, you can do this by using geometryImport topnode and set the data extraction, "copy from class" to primitives. You can set the source to be your upstream output file.
And you can access any attribute of a cooked workitem in hscript with `@`... so `@sopname` will evaluate to box1 in this example.