Is there a node or method to create views by groups the same way you can create views by rooms?
The basic steps would be to get your list of groups, create a view for each one, isolate each group in its respective view, then set the section box if necessary.
Steam Nodes has a node, Element.Create 3D Cropped View, that should do all of this for you. But there are also OotB nodes and a few Rhythm nodes that you can set up to do this as well.
I managed to get a few steps done, but I encountered a few issued. First of all, I need to get all the unique items of all groups. However the list unique item node returns strings. Apparently I couldn’t find the string to element id node from Archi-Lab. I’m not sure if it still exist in the package. Using the Filter by boolean mask node after the list unique item combines the wrong the groups with the filtered string list. So do you know how to get elements from a list of strings?
Once the new floor plans are created, I ran into the next issue. I can either isolate the elements in the newly created views, but so far alle elements in the view gets hidden. Or I can create bounding boxes for each unique group, but the questions is, how do I crop the floor plans based on the bounding boxes?
That’s the problem. You’re checking your list of unique items but using the boolean mask on your list of all items. Are you trying to get a list of unique elements or unique groups? If you need the elements then there’s no need for UniqueItems. If you need unique groups (containing all group instances) use GroupByKey.
If you want to crop a plan view you’ll need curves representing the crop boundary. It might be easier to create a 3D view. Steam’s Element.Create 3D Cropped View is nice and easy for creating cropped 3D views.
The GroupByKey worked perfect. The groups are actually apartments. Every unique apartments get its own plan view and needs to be placed on a sheet. That is why I needed a cropped plan view (not 3d view) for the plan view. So instead of using the Steam’s Element.Create 3D Cropped View, I used the View.SetCropBoxCurve from the MEPover package to set the crop regions in plan view.