CurveLengthV2 – It is possible to measure a length of curve in v2 by setting up a keyboard shortcut with this as the command. Then when you push that shortcut key it will calculate the length of the selected curves and copy it to the clipboard as text, and you can paste it into a text editor to see it.
quote:
script:/* Calculate length of selected curves and copy to the clipboard as text */ var crvs = moi.geometryDatabase.getSelectedObjects().getCurves(); var len = 0.0; for ( var i = 0; i < crvs.length; ++i ) len += crvs.item(i).getLength(); moi.copyTextToClipboard( len );
Thanks Marco the command worked great. It's made the job so much easier. Thanks for that. as far as the script goes I haven't graduated to using those yet. I'm not quite sure how to run them. I'll dig around and see if I can find a tutorial on this.
Thanks Brian, it's good to know I'm not the only one that is looking for this functionality. at the moment I have to keep jumping between programs to see the weight of the object i'm creating which is a right pain.