it is doable in theory ....
since the room have area and perimeter ... we can calculate length and width (if it is a rectangle) by reverse solving of
A = L*W
P= 2L + 2W ....
@Haddood wrote:it is doable in theory ....
since the room have area and perimeter ... we can calculate length and width (if it is a rectangle) by reverse solving of
A = L*W
P= 2L + 2W ....
So to apply this to Revit you can quickly make a room schedule with a calculated value parameter for Room Length and Room Width. If you're like us using Rooms for the overall multifamily Unit areas then for the individual rooms in each unit and you don't want your interior walls room bounding then you can use Areas. So create an Area schedule based on your area finish to finish boundaries for each room.
Make Room Length formula ((Perimeter / 2) - sqrt((Perimeter / 2) ^ 2 - 4 * Area)) / 2 and Room Width formula Area/Room Length calculated parameters. Make AREA ROOM LENGTH AND AREA ROOM WIDTH shared parameters so you can put these in tags since calculated parameters are not tagable.
Populate the shared parameters in the area schedule with the data from the calculated values parameter using Spreadsheet Link or Dynamo. Edit your Area Tag and add label for the above shared parameters, load into project and you can now tag your rooms with room length x room width.
Thanks to Scott Davis from 2006 for the first part of this geometry calc idea.
Yes only Rooms with 4 sides would give a room length and room width value. So in the case of multifamily (where the Rooms are better suited for the overall Unit area/Occupancy Load calcs and the interior walls room bounding is turned off) Area boundaries for less than 50 unit types are used on the unit room spaces. Populate the shared length parameters "AREA ROOM LENGTH" and "AREA ROOM WIDTH" with the calc values from the room length and room width using Revit Express Tools Spreadsheet link. Fill in the missing values in the area tags. See attached. The living room "AREA ROOM LENGTH" and "AREA ROOM WIDTH" parameters had to be manually filled while the other 4 sided rooms were automatically filled. If the walls shift you will have to run spreadsheet link express to quick copy the calculated values. This beats entering it in by hand or by text.
Since leaving school 25 years ago this is the only use I've ever found for quadratic equations...
It's a nice solution but there are obviously limitations with it. As has been mentioned it only works on rectangular rooms and it cannot tell you which value would be conisder the 'Length' and which the 'Width'. I was looking as using this to assists with ventilation requirement calcs but because of these restrictions it wouldn't work.
this is another instance of where schedulable dimensions would be a huge benefit.
Can't find what you're looking for? Ask the community or share your knowledge.