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: 

Shape of floor in Section

1 REPLY 1
Reply
Message 1 of 2
VP_CB
348 Views, 1 Reply

Shape of floor in Section

Hi,

 

i'm completaly new in revit api. I'm trying to get shape of floor in section. I wish to get 4 points of edges. 

 

can someone give me any idea how to do it please ?

 

i can get shape of floor from sketch but it return shape in floorplan which doesn't help me

 

thanks for ideas

Vitezslav Peka

1 REPLY 1
Message 2 of 2
jeremytammik
in reply to: VP_CB

Dear Vitezslav Peka,

You could analyse the floor geometry as described in various blog posts:

This one shows how to get the horizontal section of a slab from one of its faces:

http://thebuildingcoder.typepad.com/blog/2008/10/slab-boundary.html

This one discusses obtaining a vertical section from a wall from another of its faces:

http://thebuildingcoder.typepad.com/blog/2008/11/wall-elevation-profile.html

In Revit 2012, the BooleanOperationsUtils  class also provides access to Boolean operations in the project context, which would allow you to define the section view in any way that you see fit and then analyse the resulting gometry to obtain the edges you are interested in in a similar way.

Cheers, Jeremy.
--
Jeremy Tammik
Autodesk Developer Network -- http://www.autodesk.com/joinadn
The Building Coder -- http://thebuildingcoder.typepad.com



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

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community