The joined macro traverses the faces of a volume body and accumulates the outer surfaces of this body. The surface area of any closed cavities is also calculated. The part document must be open in SolidWorks, and a body face to be processed must be selected.
A surface body constituting the outer skin of the body is also generated.
The macro was only tested on a part with relatively simple shapes. To be validated on more complex parts.