Jump to content
miccetro

sop solver data in a pop wrangle

Recommended Posts

Hey peeps, I'm trying to access a data from a SOP solver in a pop wrangle input set to Dop data. Any ideas?

I tried popobject1/sopsolver

No luck.

Thanks.

  • Like 1

Share this post


Link to post
Share on other sites

I think you better explain it a bit more detailed, I for one can't make heads or tails out of that question. ;)

What are you trying to achieve and how? 

Share this post


Link to post
Share on other sites

You can use explicit pathing to reach out of DOPs and fetch SOPs information of a specific node.

For instance, here is how you can get the number of points in an external scatter node.

string scatter_path = "op:/obj/my_SOP_object/scatter1";
int scatter_count = npoints(scatter_path);

// We can fetch data but not write data.
vector scatter_location = point(scatter_path,"P",0);
	
Edited by Atom

Share this post


Link to post
Share on other sites

Well, sometimes there is, sometime there isn't, hehe... I started to slowly figure out when you can plug stuff right into the solvers and when you have to use the multiple solver, it's a trial and error thing. ;)

  • Like 1

Share this post


Link to post
Share on other sites
1 hour ago, Farmfield said:

Well, sometimes there is, sometime there isn't, hehe... I started to slowly figure out when you can plug stuff right into the solvers and when you have to use the multiple solver, it's a trial and error thing. ;)

Well, the POP Solver is just an asset already containing a Multiple Solver inside. Same thing with the Rigid Body Solver. But the wire/FEM/Bullet Solvers are NOT assets, and then in turn can't have a Multiple Solver inside, so there you'd need to use one.

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×