skipping work items
1686
3
1
-
- axelsp
- Member
- 97 posts
- Joined: Sept. 2006
- Offline
Hello,
Lets say i have generated 10 work items but already cooked 3.
Is there a way to explicitly tell the network to skip the first 3 indices?
-
- axelsp
- Member
- 97 posts
- Joined: Sept. 2006
- Offline
This reply is more of a personal note, if thats ok. Just nicked and adapted this from another post in the forum.
I need to test it still.
choices = range(3)
for index, upstream_item in enumerate(upstream_items):
if index not in choices:
item_holder.addWorkItem(parent=upstream_item)
-
- tamte
- Member
- 8449 posts
- Joined: July 2007
- Offline
For your case you can also use Filter By Range TOP
Tomas Slancik
FX Supervisor
Method Studios, NY
-
- axelsp
- Member
- 97 posts
- Joined: Sept. 2006
- Offline
Tomas you legend ! Thanks for this, *Filter by Range* is not only the favorite answer but it also opened a whole new can of worms for me.
Thanks
Attachments:
Forum_TOPsData.png (26.5 KB)