I’m looking to find the Geometric Center Location of Listed elements, so that I can group them together.
Specifically I have am interested in finding the center of various MEP Pipe elements, and would like to be able to select only the elements in which their center is within a particular view/scopebox.
I have a script now that collects elements from a selected view and then sets a parameter value accordingly. Minor issue is that most of the time the pipe is present in two views. So when I run the script for [Scope Box A] it designates [A] in the parameter, however when I continue onto [Scope Box B] which is right next door, it grabs some of the same elements and overrides those values with [B].
Is there a way to select elements, only if their Centers’ are within a View/Scopebox?