Get face from floor object

Anonymous

Get face from floor object

Anonymous
Not applicable

I'm creating a plugin wich compares point cloud with differents revit objects and i want to get all the face from a floor object. Because my plugin can create elevation point on a floor and so if it create 50 point on a floor i will get a lot of face to select, and so i would like to select the floor object and get all the face. But i Don't find any fonction or method to get thoses face.

 

if someone has an idea i would be happy

0 Likes
Reply
Accepted solutions (1)
1,930 Views
5 Replies
Replies (5)

jeremytammik
Autodesk
Autodesk
Accepted solution

Here is code to get the bottom face of a wall:

 

http://thebuildingcoder.typepad.com/blog/2009/08/bottom-face-of-a-wall.html

 

The exact same approach applies to a floor a well.

 

Please always search for existing solutions before raining a new question.

 



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

0 Likes

Anonymous
Not applicable

Thanks for your reply and i didn't saw this topic

0 Likes

Anonymous
Not applicable

I just have a problem. In yout code you use a type called "GeoElement" when I use it, Visual Studio Don't find thuis type and so i can't create my dll file.

0 Likes

jeremytammik
Autodesk
Autodesk

That code was integrated into The Building Coder samples in 2009 and continues living and being maintained there still:

 

https://github.com/jeremytammik/the_building_coder_samples

 

Look at the module CmdWallBottomFace.cs and all your answers will be answered in full.

 



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

0 Likes

Anonymous
Not applicable

Perfect i found what i neededn thanks a lot

0 Likes