4

I am looking to use map data from the blender-osm addon to obtain the height of buildings.
When the buildings are generated, their Scales are set to 1 while their Dimensions contain "real-world" measurements. However, as soon as a geometry node tree is added, Dimension is zeroed out. Is there a way to capture the Dimension value (specifically, Dimension.y) and pass it to a Geometry Node?

Benus
  • 3,323
  • 6
  • 21
  • Could you add a sample blend file that shows the problem? (How to add a blend file) or at least a screenshot of geometry nodes showing what is zeroed when you try to use it? I don't understand why the dimensions would be 0, but you should be able to use the bounding box node to get the actual values. – Marty Fouts Jan 24 '22 at 01:41

1 Answers1

7

enter image description hereYou could use the Attribute Statistic node and the Range output.

enter image description here

Benus
  • 3,323
  • 6
  • 21
  • This is what I was looking for, thank you. The only thing I added was a Separate XYZ node after the Position node. The Dimensions remain unchanged, but this makes that moot. – random_answer_generator Jan 24 '22 at 02:51