I have a complicated 3D geometry with 1033 boundaries in COMSOL Multiphysics. I need the list of max and min of x-coordinate, y-coordinate and z-coordinate of each boundary in a text or excel file.
For example:
Boundary\ minx\miny\ minz\maxx \maxy\maxz
34 1.5 4 -8 3 12 2
56 1 3.5 -6.7 10 9.7 6
...
How can I do it?
I know by right-clicking on geometry node and choosing measure, I can extract some data. But this method isn't practical for some situations like this (1033 boundaries)!
I would be appreciated if anyone helped me possibly.