line length ?

did my new script using your algo

but got a bug with the BM some how not certain why on the second loop
it does not recognize the BM values ?

here is file with script and curve inside

Explanations:

1 - I do loop to find all curves on layer 1

2 - Start second loop with names form first loop
make copy for curve then convert to mesh
and use your algo

then delete new mesh object converted curve

and continue loop

but then on second curve it does not like the BM values !

try it and hope you can show what the bug is here !

thanks for feedback
happy bl

Attachments

curve-data3.blend (616 KB)

This is probably a bug to developers https://developer.blender.org

any idea if there would be another way to loop on several curves
and have it working ?

may be using curves only instead of object curves

I need this to work for several curves to save time
and make a short report for all curves in one loop if possible
would save a lot of time compared to do it one by one !

thanks
happy bl

just did some testing and got another problem with your basic algo

it sees only one segment again

try the curve in the file here

thanks
happy bl

Attachments

bMESHLINELENGHT1.blend (535 KB)