Hey @jean !
Great package Quasar! A lot of useful things!!
I was giving a try to the ViewUtility.ElevationInRoom node and it seems to work pretty well, but it seems like all the views cut all the rooms short in height.
The offset would create an homogeneous offset around the original crop of the view, so in order to get the height of the view correct I would have to set an incongruous offset that would probably be too big.
I was looking at the code. Is the reason why all the views get cropped too low this line maybe: BoundingBoxXYZ bcrop = Utility.crop_box(bbox, Offset / 304.8);
I really don’t understand where that number 304.8 comes from.
What I’m saying is that the room elevations are coming out shorter from your dynamo node (see the first image I posted above - the elevation has the correct width but a shorter height, hence the top of the room is cut out by the crop box). What I want is actually the view to have the same shape of the room with just an homogeneous offset around it. But, reading the code, it seems it doesn’t depend on that.
That’s why I was wondering if it was happening to you too that the ViewUtility.ElevationInRoom node generates views that have the correct width but the wrong height (again, like in my image above).
@ATassera, Elevations views’ crops are shaped based on the room boundingbox’s max and min values.
On top of that, desire offset will be applied. Which means if you use offset value " 0 ", view crops will be the same shape (height and width) with the room. One of my concern is the unit conversion because, in my node, I have already divided by 304.8 assuming that the project unit is millimeter.
Anyway, I will check again, is this node really have an issue or not?
Thanks mate, have a great day.
Just noticed something with the view ViewPortAlignment. If there isn’t matching views and legends it can use the location of a legend for a view. Highlighted area below is where it put the view. Awesome node otherwise.
Quasar Packageversion 2.x.xxx offers a view extension to organize the scripts. Upcoming features are under development. For now, please do enjoy as so.
Let’s say the source file was updated as the design team made a change in floor to floor height to add another level.
If Dynamo maintains ownership of the Revit elements you can update the levels and elements / data built up on them by opening the graph which created them, and hitting run a second time.
Hi, Jean
I use Quasar create an element filter, but the DropdownSelection just output one list that is the last one selected. The DropdownSelection can output a list like a filter input list.
Yeah~ but with another issue, When I frome the selection of the second of the last return to the third picture option that will show the option is empty.