Probuilder: How add edge loop at runtime

Hi,
How can I select an edge loop on obj with script?

I see no example or reference in the documentation

Thank you for your help

Sorry I can´t help you here.

I have a similar problem, I want to pick an edge or a vertice at runtime (no rectangular selection) and don´t have any option to do so. Picking a polygon on the other hand is provided and works fine.
Is it something we have to code on our own?

hey @Cascho01 , I could pick a vertex to translate it with this although didn’t give me the desired results for my purposes. I’m not sure what you mean by rectangular section, cheers

//pick face
Face sourceFace = pb.faces[0];
var v = sourceFace.distinctIndexes;

//take face vertices into array
int[] verticesArray = new int[4];
        for (int i = 0; i < v.Count; i++)
            verticesArray[i] = v[i];

//pick vertex bottom right in my case
int[] bottomRight = { v[0] };
pb.TranslateVertices(bottomRight, new Vector3(0.2f, 0.2f, 0f));

Thanks but I mean how to pick a vertice or edge by mouseclick.
Rectangular selection is when you draw a 2d-rectangle on screen with mouse to select multiple objects which are inside this rect…

Ah got’cha, I’m dunno, i model outside unity if i were to do it on editor. In this case I’m after runtime modeling