List of vertices in Curve or Surface

Hi all,

I’m trying to get the ids list of vertices present in a Curve or Surface, any idea?
Thanks in advance for you answer.

Cheers,

Pierre

You can use the list command in the command line. For example,

list vertex in surface 1

list surface in volume 1