Jump to content

How to get unique $WEDGE names prefix of multiple WEDGES wired


rod.vfx.td

Recommended Posts

Hello guys!

I'm trying to get different $WEDGE variable to filename, the problem is...

my setup has 2 WEDGES wired, 1 linear values, other random, and each Wedge node have a unique wedge prefix..

when i call $WEDGE in file writer, or even on "Font" node, i see only first prefix on variable...
what causes all subsequent random interactions overriding files on disk.

same problem using $WEDGENUM on wired WEDGES

the setup on OUT context is:

WEDGE_Linear (prefix wedge_lin)
    |
    |
WEDGE_Random (prefix wedge_rand)


on $WEDGE call i see only: 
_wedge_lin_parm_0
_wedge_lin_parm_1
_wedge_lin_parm_2
_wedge_lin_parm_0 (this overwrite filenames)
_wedge_lin_parm_1 (this overwrite filenames)
_wedge_lin_parm_2 (this overwrite filenames)

but i need unique concatenated names:
_wedge_lin_parm_0__wedge_lin_rand_0
_wedge_lin_parm_1__wedge_lin_rand_0
_wedge_lin_parm_2__wedge_lin_rand_0
_wedge_lin_parm_0__wedge_lin_rand_1
_wedge_lin_parm_1__wedge_lin_rand_1
_wedge_lin_parm_2__wedge_lin_rand_1

Any ideas how to get a unique name for writing with WEDGES wired together?

Edited by rod.vfx.td
additional info
Link to comment
Share on other sites

Hello rod.vfx.td,

 

   A dirty hack is to not use wedge variables but directly referencing the parameter you are wedging in the name of the file. Of course this only works if you are wedging one parameter per wedge node.

Hope this can help you!    

Edited by Nebucadnezar
Link to comment
Share on other sites

Already tried, but not work because a Non-random (linear) wedge is concatenated. if i have more than 1 wedged parameter on linear wedge, one is interated on other, impossibiliting the hack to be practical.

:(

 

i think the $WEDGENUM need be "revisited" by sideFX, because this limitation is really bad. 

the solution is have a $WEDGENUM return a PRODUCT number of all wired wedges interactions. (this is what i believe from beginning)

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...