[Sidefx-houdini-list] vop addprim

Olivier Jeannel facialdeluxe at gmail.com
Tue Apr 18 08:56:01 EDT 2017


I'm good !
Working either in point or detail mode.



2017-04-18 14:49 GMT+02:00 Andy Nicholas <andy at andynicholas.com>:

> Hi Olivier,
> 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.
>
> A
>
>
>
> 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
>> them.
>>
>> The internet is empty... (and oddforce is closed)
>>
>> Thank you !
>> _______________________________________________
>> Sidefx-houdini-list mailing list
>> Sidefx-houdini-list at sidefx.com
>> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>>
>
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>



More information about the Sidefx-houdini-list mailing list