I just did and it worked great! I changed it to select all elements of a category so you do not have to select anything in the model. now I just have to get to read the room number and add it to my ceiling tag.
I used a similar method. though i ran the raybounce twice - once to get the room list, second time to input the ceiling height parameter.
7546 Ceiling Room test 7.DYN (157.4 KB)
basically - i use the raybounce get a line to intersect with a room solid. prior to including this double running of the ray bounce i was getting the wrong ceiling height in the room parameter where there where 2 types of ceiling in a room.
Hi, I miss a couple of Custom Definition nodes in your script. Is it possible for me to get those as well?
If you do a screen grab of the nodes your missing, i’ll let you know which packages your in. Think one of the custom node packages i missed adding into the notes was “DanEDU Dynamo”
@john_pierson Hi John. Can You please help me with your graph to make it work?
I’m getting problems from the beginning…
My goal is to get the height of room not only when it has ceiling inside. Is this possible with Your graph?
Hi @Piotrek18, Do you have any “unplaced rooms” in your model?
@john_pierson yes I have 1
Sweet. filter that out and you should have better luck. Also, might wanna start a new thread for tracking purposes.
@john_pierson Thanks, that is working
another step is I think is with get the height of elements blocking the rooms from above. Any suggesiton?
This thread is already very long, could you start a new one including your illustration? You can easily link it to this one like so:
Has this been tried using ceilings within a link?
I have seen this recently:
Dang. Thanks for the info!
2 posts were split to a new topic: Issues with the raybounce - 1
Can somebody help me to undersand my mistake?
I test the scriptin the french version dynamo and revit, but I can’t inser the ceiling heigth int to the room heigth
Please start a new topic. This topic is two years old.
I see two errors in your graph.
Merci pour ta réponse, j’ai refait une nouvelle demande:
“Modifier la hauteur de la pièce par rapport hauteur de plafond”
I am trying to improve this. Your graph works fine unless the room has a L shape.
I haven’t built it, but we sometimes have split levels without a level and ceilings without a ceiling.
- For each room placed get levels
- For each level create an RCP and PLAN view
- Place one spot elevation in the center of room on PLAN and one in RCP
- Measure Z-value difference between two spot elevations for Ceiling Height
- Write Ceiling Height to room parameter
- Write the script so that you can shift or replace the RCP Spot Elevations to points of ceiling you want measured
- Rerun script shouldn’t create new views or new spots, just new values.