djx
When rendering on machines without SOuP, the forceEvalUpresFluidInBatchMode script node throws up a warning, "Unknown object type:upresFluid". How is it being created? I'd like to change that.

thanks
David

edit: oops! wrong forum... Can this be moved to "SOuP Discussion"?
Reply 0 0
pshipkov
Will address that in the next update.

Reply 0 0
pshipkov
Forgot to mention - it gets created right after the creation of a new upresFluid node.
Reply 0 0
djx
That's what I would have expected, but I'm getting one in a new scene. I've never actually created an upres fluid node.

thanks for looking into it
David

Reply 0 0
pshipkov
Will take a look tonight and will report.
Reply 0 0
pshipkov
There are only two places where these nodes get created.

1. the upresFluid::creator() - that's when an upresFluid node gets created.
2. there is a small snipped of code at the very beginning of the ::compute() method that checks if such node exists in the scene and if not creates it. This is like brute force way to ensure we don't have a scene that has upresFluid nodes that do not evaluate in batch.

So, if you start a new scene or open existing one that does not have upresFluid nodes and if you don't create new ones then there is nothing that triggers the creation of that script node.

Reply 0 0
djx
hmm.. ok. If I start maya (2012-x64 win) and do nothing, then open the outliner I can see the forceEvalUpresFluidInBatchMode script node is there already. If I then do "New Scene" the node is gone. So it seems like maybe you are also creating this node when the SOuP plugin initializes.

edit: Or is this what you mean by  the
::compute() method? Ok. We use scripts to build scenes, so often start with opening maya, running script (rather than open scene). I guess we can kill the script node.

Reply 0 0
pshipkov
What is the date stamp of the SOuP plug-ins you are using there. I cannot replicate that here.
I think the easier way to identify the problem on your side is to start vanilla Maya and load the SOuP plug-ins there.
Do you have a way to bypass the pipeline stuff ?

Reply 0 0
djx
Starting with vanilla Maya, I progressively added back my custom env. It turns out that the creation of the forceEvalUpresFluidInBatchMode scriptNode is triggered by importing pymel.core. Maybe you can explain this better, but I'm guessing it is something to do with "updating pymel with pre-loaded plugins" which includes SOuP.

Obviously this is not a huge problem. I can kill or edit the script node to avoid the warning messages. Really I was just trying to clear out warnings that I'd rather not see in the renderLogs, and reduce any unnecessary timeChange event driven stuff to speed up timeline interaction. Every little bit helps.

Thanks for spending so much of your time already looking into this.
Reply 0 0
pshipkov
Interesting. I don't use PyMEL.
Can you send me the exact command that is triggering this unexpected behaviour ?
I may actually know what is going on, but better confirm it by exactly replicating your workflow.

Thanks for investigating that problem.

Reply 0 0
djx
import pymel.core as pm

I have this in my userSetup.py, but the result is the same if I load a vanilla maya, load the soup plugin, then run that command manually.



Reply 0 0
pshipkov
Weird.
Ok, tweaked the code not to create these script nodes unless upresFluid nodes are present in the scene.
Will ask Chad what he is doing in PyMel to trigger this behaviour.
Will push an update soon.

Reply 0 0
djx
Thanks Peter. Excellent.
Reply 0 0
pechart
Hiho!
Is this fixed in the latest builds? Otherwise I'll wait with updating. Thanks!
Reply 0 0
pshipkov
Yes it is.
Give it a try.

Reply 0 0
Reply