I’m writing a graph to create a plan view for each wall in my project.
The catch is that I’m trying to set the CropBox rotation accordingly to the direction the walls were created. By doing this, the PlanView is aligned to the wall elevation when they’re added to a sheet as shown in the image:
If I provide a line normal to the plan view this node actually does exactly what I need, the problem is that it only does it one view at a time. If I try to input lists of views/lines/angles I get the “Transaction error”.
I’ve seen this method, but it doesn’t work with wall elements.
I didn’t dug into it because it looked too complex for what I was trying to achieve, but it seems that is my best shot. I’ll try to twerk the graph/nodes to make it work with walls.
So, I worked in this for a while. The only way that I found to get oriented views of the walls is trough SectionViews with the SectionView.ByCoordinateSystemMinPointMaxPoint node and changing the bounding box with the View.SetCropRegion Rythm node.
The only problem that I encountered is that the SectionViews are created in a fixed elevation, independently the position of the walls/bounding boxes. I managed to change the Far Clip Offset of the sections, but I didn’t found any way to move them vertically in Dynamo.