So I now have a collection of window and door groups nested within my main wall group (wall assembly).
As the user mouses over the various windows or doors I will have the tool determine if the point is within the bounding box of the window or door group and then base its selection on that criteria.
However I thought it might be nice to have the tool highlight all of the window and door groups within a selected wall group. However, I don’t want to add all of these groups to the selection set but rather just draw a thick green line around each bounding box of each window or door group of the currently selected wall so that the user gets a clear indication of where they need to click to select a particular opening.
The code to create the highlighted lines will reside in my draw method of the tool. I am wondering if there is already a nice method or algorithm someone has devised that will grab the eight points of the bounding box and draw the lines.