I’m putting together a graph to place an annotation in drafting views and add the view name to a parameter in the annotation. That part works fine. The location of the annotation is an issue however, since initially I placed it at 0,0 - but that point is not always near the actual objects in the view. I managed to cobble together getting the bounding box of the elements which works great if I only run it on one view. When I try to run it on all views Dynamo explodes (Issue 1)
Issue 2: I need something between the Springs.Collector.ElementsInView and the BoundingBox.ByElements but I have no idea what.
Issue 3: Once I get a huge list of points, I have absolutely no idea how to break that list down into something manageable that will work with Points.DeconstructPoint and Point.ByCoordinates. If I only have one view selected, I can feed the deconstructed points into the Point.ByCoordinates and it works, which is ideally the goal.
The Dynamo Explosion:
AnnoViewBoundingBox.dyn (13.8 KB)