extract information regarding an object (Details)

 From:  hadri1
12081.1 
Hi,

i would like to build a function that prints information about the selected element.

i would like to start with a curve element and print information such as the number of points and number of corner points.
for surface i could would like to have information on U and V iso curves.

i manage to select the curve with the object picker and even the startPt but i was not able to loop through the curve.

thanks for your help

hadri1