Export Dimensions to .txt
I'm fairly new to 3DS Max and have little to no experience in scripting. What I'm looking for is a script to export the dimensions of an object, along with the name to a .txt / excel file.
For example, if i'm selecting a 1220mm x 1220mm Chamfer Box and I execute the script, the script would create an .txt/excel file with a separate columns for the dimensions.
However, I would like this to work for all selected objects in a scene, just like "Summary Info". For example, if I'm selecting all the objects in a scene, execute the script, it would create a file with all the names of the objects selected and their matching dimensions.
Ideally, Summary Info would show the dimensions of each object, but since that's not the case I'm requesting a script that does a similar thing.
The thing i'm looking for is basically a minimal BOM script, so if anyone has a BOM script available it would be very useful.
Either a script, or a guide, or even a few words of advice would be very helpful, if you have anything to contribute it would be greatly appreciated. I am happy to learn, meaning that if someone wrote a short guide for the script, I would be more than happy to do it myself.
On a different note, there is another question that I have. When exporting Summary Info, I noticed that groups don't overwrite individual shapes. For example, If I had a group with a Chamfer Box and a Cylinder, could I just show "Group001" instead of each individual object of the group?
Thanks in advance for any help.
Comments
Try this script. It exports
Try this script.
It exports the result of the Pivot (xyz) and BoundingBox (xyz)of selected object/s into a new File. If you have the obj Group in the scene, each individual object will be measured. You can save the the result as ".text" or ".cvs"(Excel). If you do not choose the path where to save the file, will not be shown any results. I can not open an excel file, so do not know his result...
I hope that others users can complete the script.