Get Space's Level Height

Get Space's Level Height

Anonymous
Not applicable
965 Views
1 Reply
Message 1 of 2

Get Space's Level Height

Anonymous
Not applicable

제목 없음.png

I'am trying to get specified space's level height.

 

on the image, a space's room height value is 2800.

 

i want to get value 3920 (space's level bottom to top height?)

 

help me.

966 Views
1 Reply
Reply (1)
Message 2 of 2

jeremytammik
Autodesk
Autodesk

Hi.

 

I would suggest taking a look at the Space.ClosedShell property.

 

It will give you the 3D volume of the space.

 

Here is an example of using it to display the 3D volume of rooms:

 

http://thebuildingcoder.typepad.com/blog/2011/12/using-avf-to-display-intersections-and-highlight-ro...

 

On second thoughts, it might be simpler still to query the space for its bounding box.

 

Then you can just subtract the Z coordinate of the minimum from the maximum to get the height you are after.

 

Best regards,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes