I was getting all the Z values from a Polyline today using the Polyline.Z property and noticed some odd behaviour: I might simply be misunderstanding what it is supposed to return or how to implement it, but it occasionally returns more values (all zero) than there are points. In this example, one point works as expected while the other return two or three additional Z values:
Cheers @dale, would one need to use Linq in IronPython as well to implement this property? I ended up using a Python list comprehension as a workaround, but was just wondering if the behaviour I’m seeing with the GHPython implementation I posted is expected (i.e. or a bug)?