How to accesing surface points?

Hello guys,

how i could access individual surface points?

What do you mean with “access”? Change the values?
Be more specific, please.

Hi Jacques,

I want get point position information of a grid surface for exemple (grid point 6) to position other surface (as a light, a ellispe…).

thank for your support.

you can access the x coord of point 0 of grid1 with:
tx0 = op(‘grid1’).points[0].P[0]
z coord of point 2 of grid1 with:
tz2 = op(‘grid1’).points[2].P[2]


Still ambiguous. Do you want to access a point between points of a mesh? The Creep SOP may help with that.