Wedge Attribute per Topnet

   1685   1   0
User Avatar
Member
46 posts
Joined: Oct. 2019
Offline
Hi, is it possible to have wedge attribute that is specific per topnet or scheduler?
Let's say I have 2 Topnets and they both have an attribute @name. I noticed that if I modify the @name in my TopNet1 it will modify in my TopNet2. I could change the attribute @name to @nameTopNet1 and @nameTopNet2 but I am wondering if there is a simpler way.
or maybe it is going against the PDG principle?
Edited by tosiho19 - Jan. 26, 2023 08:40:51
User Avatar
Member
9380 posts
Joined: July 2007
Offline
tosiho19
I noticed that if I modify the @name in my TopNet1 it will modify in my TopNet2.
modify how?

I believe only a single workitem can be active in houdini session
so yes you may see that workitem set the value of @ variables and therefore when observing different topnet graph in this state you may see the value from other topnet if other topnet's workitem is currently active
but that doesnt mean that it will use that value during cook

during cooking of the topnet the workitem currently cooking is considered active and controls the values of the variables

even if the current topnet is not setting the @name variable, and before you trigger the cook you see the active workitem from other topnet is providing the value, during the cook the value should be empty rather than the value you see in live session
Edited by tamte - Jan. 27, 2023 00:43:14
Tomas Slancik
CG Supervisor
Framestore, NY
  • Quick Links