Search - User list
Full Version: Wedge Attribute per Topnet
Root » PDG/TOPs » Wedge Attribute per Topnet
tosiho19
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?
tamte
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
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB