Page 1 of 1

A stupid, but useful, utility

Posted: Fri Apr 08, 2005 10:55 am
by 7feet
Took 5 minutes, but I needed it. A tool to count how many points are in the current vector layer. Click on the main window and you'll get the number of points in that layer. Mostly for those "why isn't the %@#$*& switch interpolation working?!?" moments. Prints it out in the Lua window. I'll make it more proper momentarily. Extract to the [Moho Installation Folder]>Scripts>Tool folder.

http://www.sharemation.com/Moho/ToolScr ... tsTool.zip

That one lost point can kill you.

Posted: Fri Apr 08, 2005 11:02 am
by Hiddicop
Interpolation-troubles isn't good for your health. You've saved my life!

Posted: Fri Apr 08, 2005 11:11 am
by Hiddicop
Though one thing would be great(er). If you could do so you only counted the selected points. That the total amounts of points are the same in the different layers isn't to much help if their not in the same shapes. If I have three squares - one with four points, one with six points and one with eight points . in one layer, and in the other layer I have three three squares - all with six points - then the total number of points will be the same, but the interpolation won't be so nice.

I suppose (hope) that shouldn't be to hard to accomplish...

Posted: Fri Apr 08, 2005 6:28 pm
by 7feet
File above updated. Added "only selected" checkbox, <ALT> to select, and a proper display.

Posted: Fri Apr 08, 2005 6:38 pm
by Hiddicop
Thanks! This will save tons of time and irritation!

Posted: Fri Apr 08, 2005 6:47 pm
by 7feet
Your welcome. It was something that was bugging me.