List of CurveEnd Enumeration?

Hello, how to get Member names and Values of :

Rhino.Geometry.CurveEnd?

c = rg.CurveEnd
print c.GetNames(c)

gives an array of the names, not sure about the values.

1 Like

Thank you , Yes i remember something like this

print c.GetNames(c)
print c.GetValues(c)

for i,n in enumerate(c.GetValues(c)):
    print i
    print n

This also works:

import Rhino.Geometry as rg

crvEnd = rg.CurveEnd
names = crvEnd.GetNames(crvEnd)

for name in names:
    print "{} = {}".format(name, rg.CurveEnd[name].value__)

-Kevin

1 Like

Also try (C# syntax - so attempt to translate it to P):

1 Like