ScriptSpot

Script

Select By Measuring

By BodyulCG · Credited author: Vladislav Bodyul · 2019-02-05

Version
1.2
Version requirement
3ds Max 9 - 2020
Date updated
2020-03-21
Votes
5
Download
Download
Description

This tool will allow you to select objects by the size of the bounding box, surface area or volume.

Additional Info

Changelog: v1.2
  • Added selection of shapes by length.
  • Added cancellation of execution by pressing the ESC button.
  • Improved Select button. Hold CTRL before pressing to add matching objects to the current selection or ALT to remove.
  • Improved performance of selecting by volume.
v1.1
  • Added "Visible objects only" checkbox.
v1.0
  • First version.
Attachments

Tags: bounding box, utility, macroscript, select, volume, surface area

Comments (5)

Selecting for ages

eingl12 · 2020-03-18

At first, this and most of your scripts are brilliant, thanks for your work.

But I am facing a problem some times with Select By Measuring. In some cases when I select by "equal to", no matter if volume or surface area, even with reasonable object count (like 2k, not very similar in shape), the script freezes my Max for long minutes resulting in selecting nothing.

Is it possible to add an option to stop script evaluation in case like that? Right now I am waiting for a file to unfreeze, not sure if it will ever happen.

BodyulCG · 2020-03-18

Ok, I’ll try to add the ability to stop script execution. Indeed, selection by volume can really work slowly, and I will also try to optimize this.

eingl12 · 2020-04-09

thanks for the update! This is great now.

Great script!

MyGalaxy · 2019-02-08

Please add option "Select visible objects only"

"visible objects only"

BodyulCG · 2019-02-10

Thanks for the suggestion. I added this option.