Jump to content
Sign in to follow this  
william-or

Attributes not updating in wrangle

Recommended Posts

Hi everybody,

Can anyone tell me why in a solver, if I run over points with a wrangle and I set an attribute to, for example, point 15, when I reach another point down the line and i check for the attribute value of point 15 the value is not updated? It only updates once the wrangle is completed and it moves to another node down the stream. I'm trying to move points considering other points attributes but I can't find a reliable way of doing that without having out of date attributes.

Share this post


Link to post
Share on other sites

Hard to help without seeing what you are doing, but yes, attributes are only written and geometry is only created at the end of a wrangle after the code has been run.

Share this post


Link to post
Share on other sites

Might be unrelated, but from my experience, be careful about looking at attributes inside a SOP Solver. Attributes and viewport previews can be wonky in there. It's always safer to look at the output of a solver in SOPS.

  • 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
Sign in to follow this  

×