I’m trying to tweak a script that I upgraded from Dynamo 2.0 to 3.0, and I’m having trouble making a change to a script that sets the upper room height to ensure it fully covers the needed geometry of the room. I’m using the node RayBounce.ByOriginDirection at the room location point and at subdivisions along the perimeter; this is to catch any condition of sloped ceilings, open to roof, or open to floor above. The script is creating a 3d view with everything hidden except floors and roofs: that works as intended. However, when I add the Ceiling category, any of the rays from the room perimeter points return an empty list when they hit a ceiling. Oddly, the rays from the room location can see the ceilings - that’s the item 0 in the list that is working.
Is this an error with the RayBounce? Am I misunderstanding of how the node functions? Is this a unique error to this approach with the room perimeter?
Thank you very much in advance for the time and knowledge!
Trevor
Update Room Height Issues.dyn (176.2 KB)


