Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get min from beam bounding box

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
427 Views, 2 Replies

Get min from beam bounding box

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 ?

2 REPLIES 2
Message 2 of 3
jeremytammik
in reply to: Anonymous

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
in reply to: jeremytammik

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report