Search - User list
Full Version: Getting Curve point count
Root » Houdini Engine API » Getting Curve point count
v2n
Hi,

I can't figure out how to get the number of points of each curves in my SOP.
If the geo part is a polymesh, HAPI_GetFaceCounts() is giving me this information.
But if the geo part is a curve, it does nothing.

HAPI_CurveInfo got a vertexCount, but it returns just the first curve point count.
My geo got several curves with different point count, so I need more than that.

Is there something like HAPI_GetPointCountPerCurve() ?

Thanks
Guillaume
dpernuit
Hi Guillaume,

HAPI_GetCurveCounts() should be what you're looking for:

http://www.sidefx.com/docs/hengine16.0/_h_a_p_i_8h.html#ae71455a0af5af8e1538b55ed27df676e [www.sidefx.com]
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB