Thanks for this. Well done. I have created a separate script that will write the department name into the Mass's Department instance parameter. This way I can isolate this in a Mass element schedule. =) I am more than happy to share with whoever would like it.
@jeanpaulcuevavela81022 ай бұрын
Great, can you share your script with some video tutorial?
@kalenjifly Жыл бұрын
Same problem here. The masses are much bigger than the room volume. Using Revit 2022... In any case thanks a lot for sharing your script tutorial
@O-RITechnology Жыл бұрын
Hm, interesting problem. Apologise, I tried to replicate the issue, but mine are always coming back exact same size. Maybe a different version of the package/Revit makes difference?
@deanmapeso23844 ай бұрын
Nice tutorial easy to follow along - but i get 4 errors. I can get the outline of the room but cant create the mass or generic the colorscheme. first error is List.GroupByKey "number of items does not match number of keys". Second error under 9. Generat Color from colorscheme "List.IndenxOf" object reference not set to instance of an object. Third error "OverrideGraphicSettings.ByProperties" expects argument type(s) DS Color, DS Core Color etc. and the fourth error "Element.OverrideInView" Dereferencing a non-pointer. Any thoughts on what i might be doing wrong ? thank you :)
@O-RITechnology4 ай бұрын
Hm, it seems like either the number of Keys are not collected correctly, or the familyinstances were not generated. Check FamilyInstance.ByGeometry and make sure you have output there which matches with the number of elements in element.getparametervaluebyname
@CalbeeAnDTwisties Жыл бұрын
Hi O°RI! Thank you for this very useful video and script! Can i check if its possible for the rooms to be extracted based on centreline of the walls before generating the 3D masses? Would also wish to achieve populating the parameter values of those masses by exporting parameters to Excel from Revit via Dynamo and repopulating back to Revit for updating of Parameters. Based on the assumption that the Shared/Project Parameters would have been created in Revit in the first place, the mass family category would have the required parameters ready for data value population. Would you have a similar script of sorts? Thank you!
@O-RITechnology Жыл бұрын
Hi! Im glad you liked it! I think if you change the Room Computation Settings in Revit to be Center Wall Based, it should be automatically done for the Dynamoo Script as well. Regarding the parameters, yes absolutely! I have some videos on my channel where I use the technique of changing parameters of specific elements. All what would be needed is to specify what parameter you want to use (its name) and the value which you want to input. Crumple/Bumblebee and Native Dynamo nodes have the ability to bring those values from the Excel directly as well.
@RealSamGaming8 ай бұрын
Hi O°R, I used to have the same problem like a lot of people had with my masses being a lot bigger then my rooms. I fixed this by removing the ''Element.GetParameterValueByName'' node and using the ''Room.Name'' node instead. Hopefully this works for more people as well. I do run into another issue.. When making the 3d masses, I would only like to make then in my Revit project. Now it also makes the 3D masses in Dynamo which slows down the process a lot because making the masses in Dynamo takes up a lot of time. Have you got a quick fix for this? Thanks!!
@O-RITechnology8 ай бұрын
Thanks for the tip! Regarding the Hiding the Dynamo masses, yes. You can switch off the geometry in dynamo interface by going to View settings and just switch off the Dynamo vis part.
@user-ik5rx6xv7s Жыл бұрын
Hi! i tried following your steps using the Revit 2022 Version, however the override process didnt work, the color wont show up in the project.
@O-RITechnology Жыл бұрын
Hi! hm, did it show any erros if you try to run it from the Graph? also make sure that you run the script while in 3D view
@bfraumeni11 ай бұрын
Great work. My build of R23 is freezing at FamilyType.ByGeometry using Mass.rft. I am using the OOTB version of the node. It works ok with Generic Model Adaptive.rft, but you will not get the benefits of a mass. Any ideas why dynamo may freeze with Mass.rvt. ? All list lengths are the same...
@bfraumeni11 ай бұрын
Also tried with the Springs nodes for FamilInstance... and getting null return
@bfraumeni11 ай бұрын
got it to work with OOTB mass.rft on manual run. still freeze on automatic. Springs still does not work in any case..
@O-RITechnology11 ай бұрын
THank you! Hm, this workflow is quite heavy on Dynamo so if you have many rooms, it might freeze. Also the workflow is set to work ONLY during manual Run, since if you keep it to automatic, it would always override the previous changes and eventually throw an error. Hope I understand what you meant correctly hah
@bfraumeni11 ай бұрын
@@O-RITechnology good to know it is manual on your flow too. Springs node may have an issue due to Python version on my end, not sure and no time to debug. I was only testing one room at a time and got the circular result and crash. Why does it crash? Is it that the placement of a mass or generic model onto the room is changing the calculation of the room and then freezing the workflow because it would essentially destroy itself ? thoughts.
@O-RITechnology11 ай бұрын
@@bfraumeni Hm, interesting question. Do you have any holes in your room? Because I haven't tested the script with the room with more than 1 inside boundaries. As far as I am aware, the script can handle rooms that has any additional boundaries within and might break!
@mooteztalbi5966 Жыл бұрын
Hi O°RI! Thank you for this useful script! I have a problem when generating the geometry, the masses created are bigger than the rooms, do you happen to know what's the problem ? thank you !
@O-RITechnology Жыл бұрын
Hi! glad you liked the workflow! In terms of bigger, you mean how much bigger? by like couple of mm? or substantially bigger? because that would dictate what might cause that issue. Could you give an example please
@mooteztalbi5966 Жыл бұрын
@@O-RITechnology like 3 times Bigger, room Length and Height = 3m The mass Length and height 9m
@O-RITechnology Жыл бұрын
@@mooteztalbi5966 hm, its difficult to tell what might be the reason without seeing the graph itself. Does it produce any errors? I assume you use Metric type of units as well.
@mooteztalbi5966 Жыл бұрын
@@O-RITechnology No errors, it just creates the masses bigger than they should. yes I'm using the metric type units
@O-RITechnology Жыл бұрын
@@mooteztalbi5966 apologize, I cant help you much without seeing the context. If you want you can send your revit and script to me and I have a look later. Just not sure when I would be able since Im currently focusing on some other work.🙂