Hello everybody,
I have a small problem. In my program, the area parameter of a door has the value is 3.189 m2 and the dimension of the door, watching the family name and checking it in the model, is 0915x2134 mm, in other words, 1.952 m2.
My question it is what does it mean the value of area parameter?. And how I can calculate the area of door.
Thanks,
Javi
Solved! Go to Solution.
Solved by jeremytammik. Go to Solution.
I would edit the family to check how the parameter is being calculated, 'Area' is not a parameter I've seen associated with an OOTB door family.
First of all, I would like to thank your help. Unfortunately, I have not been able to understand. If I am not wrong, Area is a parameter and its internal definition defines it as HOST_AREA_COMPUTED. And the with and Height and Width are parameters associated to the Type.
Any comment will be useful.
Thanks,
Javi
This discussion has occurred previously. Not sure what your aim is in getting the door area but perhaps the thread below will offer an alternative approach to your end goal.
https://forums.autodesk.com/t5/revit-api-forum/door-window-areas/m-p/5535565/highlight/true#M9041
I'm not sure what is being reported by that BIP, I know the things it doesn't seem to be:
Surface area of wall host within project
Surface area of host wall object within door family template
Surface area of door plus wall faces of door opening cut
The BIP isn't visible in the UI so it may be for internal use. The same parameter used with walls seems to give more understandable values.
First of all, thank for your help. I read the post that you set down, but this is not the approach. My necessity is that I need to know the area of a door, using a parameter or a calculation using the parameters of door. Or unless, what the parameter "Area" is calculation.
Thank again for your help,
Javi
You could use the boundingbox of the door to get the area.
FamilyInstance inst; BoundingBoxXYZ bb = inst.get_BoundingBox(null); double area = (bb.Max.X-bb.Min.X)*(bb.Max.Z-bb.Min.Z); TaskDialog.Show("area", UnitUtils.Convert(area, DisplayUnitType.DUT_SQUARE_FEET, DisplayUnitType.DUT_SQUARE_METERS).ToString());
Several articles by The Building Coder discuss how to determine the areas of openings in a wall.
Maybe one of them suits your needs:
Cheers,
Jeremy
Thanks for your answer. Although, I was trying to get the area from the door because I wouldn't be concern about the host. I was thinking about the area of the geometry.
Javi
Besides, if I use your aproche, and I have understood your proposal, I couldn't find the size of each door and each window in the case there were windows and doors hosted in the same wall, because I find all opening in the wall, but not the the correspondence between doors and windows and its openings.
Yours
Javi
You can get the area of a door on a schedule, similar to how you add window areas:
To add the area of a door to a schedule table
You should see all the door areas for scheduled doors.
Can't find what you're looking for? Ask the community or share your knowledge.