Johan Boekhovenyeah the detail attribute is different every frame and it would be much better if this cooks in parallel and in the background, otherwise houdini would freeze up for hours until this is done.
Does it need to be in PDG? Just a basic python script on a button would be the fastest solution imho.