Jump to content
nguyenvuquocan

Same value in an attribute.

Recommended Posts

Hi all master. 

I have a lot of points . And every point have same an attribute. But in some points , it have the same value .

For example , point 0 , point 9 and point 30 have attribute "a" = 30  . How can i get another attribute have value = 3  ?. 

Thank you. 

Share this post


Link to post
Share on other sites

I'm not quite sure if I understand your question right but,
you can drop down an "attribute create" node and create a new attribute for other points with a new name. or you can create a "attribute randomize" to give your points random attributes. 

Points can have multiple attributes with multiple values.

Share this post


Link to post
Share on other sites

attribute create:
set Group Type to Points.
set Group to which points should receive new value. (This should be setup the same way as the attribute. Such as if attribute "a" is a float, "Type" should be float. If it's a vector, "Type" should be vector)
image.png.d2e7435f5c2b0ad9f9374f0003c271dc.png


Attribute Wrangle:
set Group to points that should receive new value
get attribute and define value
i@a = (value);
image.png.160e06763edcae3b74c698e9b20c6595.png

Attribute Adjust Integer/Float/Vector:
set Group to points that should  receive new value
Which attribute
Set constant value
image.png.dca5690bf2820028cf33a2aaf474fed3.png

All these have a similar result to this:
image.png.fad77a94ffa9929829aeac747c6cc492.png

  • 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

×