Jump to content

What is the difference between npoints() and point()?


RustyMac2020

Recommended Posts

34 minutes ago, ThomasPara said:

npoints() gives you the number of points the input have.

point() can give you an attribute value from a specific point.

If you write the function in vex you can put your mouse over the function and hit f1, then a helpcard will tell you what it does.

Hi I just checked it out, it says that npoint() function Returns the number of points in the input or geometry file. and the point() function reads a point attribute value from a geometry. Another question I wna ask with The point() function, is what would be a attribute value of a specific point? do point hold attributes? and if so what are they?

Kind Regards

Ahme.B

Edited by RustyMac2020
Link to comment
Share on other sites

Hi RustyMac2020, 

may I give you a polite suggestions to: 

- give your threads a correct descriptive titles (like the one above instead of the original "What is the difference?")

- avoid asking about things directly described in relevant documentation (like what does a given function)

- avoid collapsing many unrelated topic into single thread

- finally start using spell checker

 

 

These are not to make life of a novice user harder, but to lower noise level and make public forum more useful.

Thanks!

btw documentation chapter about attributes (what they are and so forth):

https://www.sidefx.com/docs/houdini/model/attributes.html

  • Like 3
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...