trebz7 Posted October 11, 2019 Share Posted October 11, 2019 Hello, I'm trying to access a microsolver in the Dopnet. I would like to get e.g the disturbance parameter of the disturbance node, which has the parameter name: "dist_scale". With a Gasfieldwrangle node I can access e.g @vel, @density.. basically attributes.. which is working fine if I am changing them. But if I want to access the parameter and try to change it, nothing happens. I tried it with @dist_scale or relative/absolute channel reference. Thanks! Quote Link to comment Share on other sites More sharing options...
trebz7 Posted October 16, 2019 Author Share Posted October 16, 2019 Anyone has an idea? Quote Link to comment Share on other sites More sharing options...
StepbyStepVFX Posted October 16, 2019 Share Posted October 16, 2019 Well, a parameter on a node is not an attribute or a field of data. Attributes are linked to the geometry. vel and density are fields of vectors or scalar. They are attributes linked to a fictitious primitive that store volumetric data (voxels). If you want to read a parameter in VEX, use the vex expression chf() for a float, chi() for an integer etc. example chf(‘’path to the node with the wanted parameter / parameter ‘’) And seeing another question on the forum, ch() is only to read, not change a parameter. Hope the difference is clear. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.