Announcements

Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.

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 thickness of a floor

1 REPLY 1
Reply
Message 1 of 2
Anonymous
587 Views, 1 Reply

get thickness of a floor

I would get the thikness of a floor. I found Something in the builtinparameters but i Don't understant how it works and how to get the value in a double to use it.

 

if someone can help me

Tags (2)
Labels (3)
1 REPLY 1
Message 2 of 2
naveen.kumar.t
in reply to: Anonymous

Hi @Anonymous .

Floor floor;               
Parameter param = floor.get_Parameter(BuiltInParameter.FLOOR_ATTR_THICKNESS_PARAM); 
                if(param!=null)
                {                                        
                    double thickness = param.AsDouble();
                }

Naveen Kumar T
Developer Technical Services
Autodesk Developer Network

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

Post to forums  

Autodesk Design & Make Report