polimpiado
2025年1月27日 15:59:12
The Wedge Node creates "wedgetotal" and "wedgecount, The File Pattern node does not create an attribute of the total number of work items. Is there a smart way to create this? is it only possible with Python?
tamte
2025年1月27日 17:43:00
you can for example append Python Processor:
count = len(upstream_items)
for upstream_item in upstream_items:
new_item = item_holder.addWorkItem(parent=upstream_item)
new_item.setIntAttrib( "file_count", count )
polimpiado
2025年1月27日 17:43:35