Sometimes you have planes that cut multiple pipes and you want separate reports for every pipe. If the pipes are well defined or if you have individual parts of every pipe you can do this with a combination of field functions and selecting the correct parts. If, however, your pipes are all in the same part and they are too many to do it manually there is another option. You can export a plane section, re-import it again and split it using connectivity. You can unfortunately not split the plane section directly on connectivity but the imported stl you can split without any issues.
This article includes a macro that can do this for you. As a bonus the macro can also create surface averaged reports for some field functions as well as mass flow reports of the individual planes.
Workflow:
1. run the macro to create tags
2. tag the plane(s) you want to split with the "splitMe" tag
3. if you tag one or multiple field functions with the "splitMe" tag the macro will create surface average reports of those field functions for every split
4. by default, the macro will create mass flow reports from each split
5. run macro again to split the plane(s) and create reports.
Workflow with pictures:
1. run the macro to create tags
2. tag the plane(s) you want to split with the "splitMe" tag
3. if you tag one or multiple field functions with the "splitMe" tag the macro will create surface average reports of those field functions for every split
4. by default, the macro will create mass flow reports from each split
5. run macro again to split the plane(s) and create reports.
What the macro does is
1. export the plane as a stl
2. import the stl and split the surface by connectivity
3. create reports and groups
4. the macro then tags the original plane again with the "done" tag, to make sure you don't accidentally split it again.
* Note that the macro uses the current mesh. If you remesh the matching of the artbitrary sections that the macro creates might not be perfect.
* Note also that in version 18.04 and newer versions, the monitors will be multivalued instead of total valued. See
here for more information on multivalued monitors.