[Sidefx-houdini-list] vop addprim
andy at andynicholas.com
Tue Apr 18 08:49:54 EDT 2017
Yep, you need to do this (assuming you have your point numbers stored in
pt0, pt1, pt2, etc.):
int prim = addPrim(geoself(),"polyline");
addVertex(geoself(), prim, pt0);
addVertex(geoself(), prim, pt1);
addVertex(geoself(), prim, pt2);
addVertex(geoself(), prim, pt3);
Use "poly" if you want it to be a closed polygon instead of a line.
BTW, I'm pretty sure this works in any mode, not just Detail.
On 18/04/2017 13:36, Olivier Jeannel wrote:
> Hi guys,
> Does someone has an example of how addprim VOP should be connected ?
> Let's say I have 10 points and want to add on big open polygon (line) to
> The internet is empty... (and oddforce is closed)
> Thank you !
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
More information about the Sidefx-houdini-list