I have multiple models now and I need to get the sum of the volumes of all models at once, and visibility needs to be taken into account! How should I use the footsteps to achieve it? (I’ll look at the script for a single subtool, if it’s the sum of the volumes of multiple subtools, I don’t understand)
if you have multiple subtool, then it can’t to be done at once, you gotta have to loop in the subtool list and check which subtool are visible or not and use [GetPolyMesh3DVolume] to get the volume and apply the sum during the loop.
hope it helps,
Nicolas
Yes, as @facelessmindz says (thanks Nicolas!) you will need to add the results. But also be aware that if the subtool is not a complete volume (i.e. it is an open mesh with holes) then you may not get an accurate result. Use [IsPolyMesh3DSolid] to check.
Marcus
thanks
What kind of syntax do you need to use to apply the summation? I did test it, but the summation will not be there.