Jump to content

PDG : passthrough output files through hdaprocessor


VBesson

Recommended Posts

Hey !
Newbie question I guess :
In a top network, 2 hdaprocessor follow each other.
1st hdaprocessor writes multiple output files.
I would like the 2nd hdaprocessor to only affect the 1st outputfiles, and passthrough the others.
How can I do that ?

I saw this topic already : https://www.sidefx.com/forum/topic/86463/
But I can't apply this method as I have more than 1 workitem on my node, then filepaths have ID in the name and I don't know how to retrieve that.
Furthermore,  zdesir's method seems unconventional to me, if I understand it right. Indeed, they set "$PDG_DIR/geo/opinput(".", 0).0.bgeo.sc" as output file path, whereas the default output file path automatically written when creating an hdaprocessor TOP is $PDG_DIR/geo/$OS.`@pdg_name`.0.bgeo.sc, and I wonder what implies removing this `@pdg_name`b here.

Also this method seems unscalable to me, i.e for cases when default TOPs or switch TOP are present between hdaprocess1 hdaprocessor 2, making the expression more an more convoluted as hdaprocess is not the direct parent but the result of a logic chain.

Edited by VBesson
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...