Craig Tonks

mrtonks

About Me

Expertise
Technical Director
Location
United Kingdom

Connect

Recent Forum Posts

Filtering highest file / folder version May 18, 2019, 7:58 a.m.

Thanks Ken!

Theres two problems with that though:

1. I wont always know the largest index, so i need some attribute promote style way of finding the max. Which is possible for all work items at once, but…
2. the work items belong to different folders. So i need the threshold for each group / partition of items

Essentially looking at Partition by folder attribute, loop over all items in that group and get the max - then do filter by expression. I just havnt got my head around the python code to do it and pass everything back out correctly

Attribute promote on work items or by partitioned items would be a great addition in the future!

Filtering highest file / folder version May 15, 2019, 12:09 p.m.

Hey,

Painfully close on this but wondering what the intended workflow would be for processing highest values only.

As an example, i'm using a file pattern glob so that given a number of shots i can get all the hip files per shot - that gives me lots of useful info including an index based on file versions!

I'd like to then go forward with just the highest index. If it was geo i'd do an attrib promote to get the max and filter anything less - would the same logic but with a python script make most sense? or is there a more elegant solution i'm missing?

~Craig

Render all OUT context rops in a file May 15, 2019, 7:56 a.m.

Hey,

Just proof of concepting automatically running caches. my test looks like:

> Three shots with 2 geometry rops daisy chained
> first has a strict one frame cache, the other has a longer frame range

The two main options seem to be:

ROP Fetch from external file - it sort of does what i want, but i'm getting errors i think from it not properly working with the strict frame range and dependencies. I want it to move onto more complex out networks after.

Server Session - attempting to use python to file load then hit the render button, but hitting syntax problems passing a file path through. And for a more complex scene i'm not sure if it will calculate node by node as it seems to prefer frame by frame in normal sessions (have posted in technical about this)

Am i running down the right route?