V6 AddSrfSectionCrvs parameterization difference

This is a shot in the dark to see if the hive mind can figure this out while I sleep. I’ve got a VBScript that works in V7 but not V6 (but it seemed to not be a problem back in V4? Ugh it’s old) and I’ve traced the problem down to a line object that has unexpected parameterization, it goes from 0 to 1 instead of 0 to length. It’s “created” by exploding a polyline and finding the longest segment. On further analysis I see completely different domains for the polylines in V6 vs 7. Is there some widely known change with v7 that would explain this?

EDIT: It turns out the issue originates with the Rhinoscript method above, the output curves are parameterized ‘funny.’

Hi @JimCarruthers,

Is there any action for us to take here?

– Dale

Hi Dale,

I narrowed down the issue to AddSrfSectionCrvs, its output is parameterized at 1 per segment instead of actual length in V6. I got around it by running Reparameterize Automatic in Rhino.Cmd, so unless there’s a more elegant way of reparameterizing curves in V6 Rhinoscript…