Jump to content
CinnamonMetal

Return X component value

Recommended Posts

I want to or alteast hope I can, since the attribute nrpoints is a vector, return only the X component, compare it's value then append that to a list; but list don't take float values, although I'm not too sure that is true; as it's not true in other languages.  The error is with returning the value of the X component of the attribute ?

i[]@axisList;
if(@nrpoints[0]<1.3){
append(@axisList,@nrpoints);
}

 

Share this post


Link to post
Share on other sites
34 minutes ago, CinnamonMetal said:

 


v[]@axisList;
if(@nrpoints.x<1.3){
append(@axisList,@nrpoints);
}

 

 

  • Like 1

Share this post


Link to post
Share on other sites
Posted (edited)

Sorry, I didn't mention as detail attribute ? In other words, I'm running rather then points or primitives; detail.

Edited by CinnamonMetal

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

×