Whats wrong with this curve´s _CrvDeviation worked wrong

I use _CrvDeviation in my c# program to find the max distance.
but only with this curves it not worked rigth.
pls. have

teil33.3dm (38.4 KB)

if someone have a proposal to Change this curves so the command will worked pls. help

Regarsd Robert

Hi Robert - your curves are very far from the World origin - if you move them in closer, the command should work. It may be that we can tune up the command make the translation to the origin internally, to get a better answer in cases like this.


many Thanks Pascal I add a messagebox after select curves so I will remember me next time.