LiveMeasure

9 votes
Version: 
1
Date Updated: 
03/19/2019

Measure and show edges length, segments length and faces area in real time. Work with Splines, Editable_Poly and  Editable_mesh objects and Edit_Poly modifier.
--        In Polygon/Element sub-object level will show the selected faces area in generic units only.
--        In Edge/Border sub-object level will show the length of selected edges in user defined units.
--        In vertex sub-object level, when vertex is move will show the length of edges that is common for the selected vertex.
--        If top sub-object level is active will show the dimension of the selected object.

The edge/segment length and face area will update when the edges/segments/faces are scaled or when the vertex is moved.

In top left corner of the viewport will be shown the total face area or total edge length.

Thanks to kilad now the script work with max2012 and up(download LiveMeasureMAX2012.ms)

Install: drag-n-drop the LiveMeasure_v1.ms in 3ds max. Go to Customize-Customize User Interface-"miauu" caegory. Assignt to a hotkey. The script work as a toggle - press the hotkey to start, press again to stop the script.

Script idea by @harumscarum.

Video on youtube

Version Requirement: 
3ds max 2009 and UP
Video URL: 
AttachmentSize
livemeasure_v1.ms21.62 KB
livemeasuremax2012_v1.ms23.23 KB
livemeasuremax2012_v1_nocolorboxes.ms22.36 KB
livemeasuremax2012_v1_witharrows.ms25.28 KB
livemeasure_v1_0_noblackrectangles.ms21.64 KB
livemeasure_max2012_and_up.ms22.32 KB
livemeasure_v13.ms22.72 KB
livemeasure_v13_blue_color.ms22.77 KB
livemeasure_v13_blue_color_roundnumbers.ms23.11 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
miauu's picture

.

The "blue color" version is uploaded.
Now, comapae this version with the last one to see hot to change the color in the future.

To get rid of scripts is easy. You can do it manually. Usualy mas saves scripts in those folders:

- maxRoot/scripts
- maxRoot/scripts/startup

The nest 3 folders are hidden, so first you have to make them visible. I am using Windows 8.1.
In the "|\usermacros" is stored scripts (.mcr) that are used to run other scripts, placed(in most cases) in the other folders that I mentoined. So you have to delete the .mcr and the .ms/.mse files

- C:\Users\yourUSerName\AppData\Local\Autodesk\3dsMax\2014 - 64bit\ENU\scripts

- C:\Users\yourUSerName\AppData\Local\Autodesk\3dsMax\2014 - 64bit\ENU\scripts\startup

- C:\Users\yourUSerName\AppData\Local\Autodesk\3dsMax\2014 - 64bit\ENU\usermacros

Deleting scripts manually will gives you control of what you will delete. Using the script to delete scripts is faster, but can causes problems(deleting scripts that you don't want to be deleted)

Kurai's picture

Thanks

Many thanks Miauu.
I like this script better now I have the dimensions in the top left.

But, when I tried to change the colour all hell broke lose... and I kept getting error message constantly. It took me a while (cos I am new to this) but I got it back to normal and everything is working fine. Got abit of a scare though.

The colour I wanted was: (0 145 255)

I tried it with and without brackets... no comas.

I am affraid to try it again. So if you (ever) get time can you please upload a version with this colour. I can live with green, but prefer blue :)

Another question: Is there a script for getting rid of scripts? I have tried so many scripts and I am worried they might cause a problem, conflict or slow Max down.

many thanks for this simple but great little script. I makes using Max a friendlier experience :)

miauu's picture

.

Thanks.

Download version livemeasure_v12.ms and test it. In the top-left corner it will shows the Width, Height, Length value of the selected object.

If you want to change the color of the text do the following:
- open the livemeasure_v12.ms in notepad++, or in MaxScript Editor.
- go to line 36 and change the:

local textColor = green

to

local textColor = (color 255 0 0)

where the three numbers represent the RGB values of the color that you want
- save the script and reinstall it
- restart 3dsMax.

Kurai's picture

Great Script

I really like this script. It's useful for measuring objects (like doors and windows) so you can create a hole in the wall for them. It's more accurate than the other tools I've used because when you use a measuring device you never know if you have clicked the right place to get a reading between two points.
This script gives you a quick reading and rounds up the numbers... great :)

But, I wish I could change the colour of the numbers.... bright blue maybe.
I also wish there was a reading in the top left hand of the viewport that reads:

Width: 0m
Height: 0m
Depth: 0m

I think this would be good.

I know your all talented script writers but what appeals to me about scripts is the simpler they are the more I use them. Some scripts are way too complicated and make something even more complex. Menu's should be dockable and have as little features as possble to make them pleasurable. This is a perfect example of a script that keeps things simple.

miauu's picture

.

I don't have spare time right now.
May be, one day I will add this functionallity.
Thank you for the suggestion.

:)

Dmugen's picture

I tried the script "Measure

I tried the script "Measure and Select" but the numbers don't change in real time I have to press show length everytime.

So I found this one:

"Live measure" but can u make it such that the number stay. In other words I want the numbers to stay on which every edge I choose whether the egde/s are selected or not. Be able to hide and unhide the number on edge/s.

SIL's picture

I installed script and make

OK. I reinstall script, and now is all ok. Thanks.

miauu's picture

This message shows that there

This message shows that there are no selected objects, polygons, verts, edges etc. So, you can see that the script is active and if you don't need it you can turn it off.
But why the script starts with 3ds max? DId you place it in scripts\startup folder?

SIL's picture

Excellent script! Thanks

Excellent script! Thanks you!

But when 3dsmax is started - I see in active view port - "Nothing to display ! Go to Edge or Polygon sub-object level !". And then - if check and uncheck of script's button - warning is disappears.

miauu's picture

Nema, nema. Daje po-lud

Nema, nema. Daje po-lud stava.:)

Happy holidays!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.