Get min from beam bounding box

Get min from beam bounding box

Anonymous
Not applicable
572 Views
2 Replies
Message 1 of 3

Get min from beam bounding box

Anonymous
Not applicable

So, I'm having a beam which intersects two columns . I would to get the minimum point of the beam bounding box which is not inside the two supporting columns. I know that beam has a start point and an end point , also I know how to get his bounding box (but it retrieves the bounding box of all beam , also the parts of beam which are supported by the column). Is this possible ?

0 Likes
573 Views
2 Replies
Replies (2)
Message 2 of 3

jeremytammik
Autodesk
Autodesk

Dear Daniel,

 

Sure this is possible.

 

Retrieve the element geometry.

 

You can get the beam geometry both in the original state of the beam symbol, before cutting with neighbours, and also after cutting with neighbours, through the GeometryInstance GetInstanceGeometry and GetSymbolGeometry methods.

 

Look at my setout point application to extract the vertices from the geometry:

 

http://thebuildingcoder.typepad.com/blog/2012/08/structural-concrete-setout-point-add-in.html


http://thebuildingcoder.typepad.com/blog/2014/11/concrete-setout-points-for-revit-structure-2015.htm...

 

Cheers,

 

Jeremy



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

Message 3 of 3

jeremytammik
Autodesk
Autodesk