Jump to content

sop solver data in a pop wrangle


miccetro

Recommended Posts

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
Link to comment
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
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...