Use this sample study type with Generative Design in Revit to generate alternatives for placing objects in a room using a rectangular grid or a stepped (diamond) grid.
The left image shows an outcome in Generative Design. The right image shows the outcome when it's integrated into the Revit model.
In this topic
Rectangular grid | Stepped grid |
---|---|
In a rectangular grid, elements are aligned on both the X and Y axes. Use this formation when you need regularity and straight lines of circulation between elements. A rectangular grid is often used for placing items such as beds in a hospital ward or school desks in a classroom.
To use a rectangular grid, in the Create Study dialog, select Grid Object Placement. |
In a stepped grid, objects create a diamond pattern. To avoid a rigid X-Y formation, they don't align on each axis. Use this formation to place items such as dining tables in a cafeteria, plants in a garden, or seats in a theater.
To use a stepped grid, in the Create Study dialog, select Stepped Grid Object Placement. |
These studies use the Optimize method for object placement. They compare the percentage of total coverage of the room, the number of objects placed, and the amount by which objects may overlap their areas.
Object area: For these studies, an important concept is the object area. To determine the area covered by an object (element), the study determines the midpoint of the object. It then draws a circle from that point to the farthest edges of the object's bounding box. The resulting circle represents the object area, which is represented by the yellow circles in the above images. For example, in the following image, the yellow circle represents the boundary of the area for a nested family consisting of a table and chairs.
Origin: Another important concept is the family origin. This is the insertion point of an instance for the family type. For example, when placing a desk, the origin may be the front left leg of the desk, so that leg is used when placing the desk in the model. These studies use the origin when placing objects. The origin is also used when measuring distances between objects, and between an object and the wall. Before using this study types, check the origin for the family to be placed. As a best practice, reposition the family origin to be at or near the midpoint of the family.
Using the Optimize method to place objects in a room, typical goals are as follows:
In the Create Study dialog, these study types are available from the Autodesk Samples folder.
To open the study types in Dynamo, navigate to this folder:
If you can't find a study type in that location, you can download them using these links. Each ZIP file contains the DYN file and its Dependencies folder. Unzip (extract) its contents to a folder on your computer.
During the process of creating a study, you need to select the target room and an instance of the family to be placed.
To prepare the model
If desired, you can download and use rac_advanced_sample_project.rvt with this study type.
For example, in rac_advanced_sample_project.rvt, open the 02 - Floor plan. Zoom in on the room in the upper left corner of the building, Lounge 223.
For example, in rac_advanced_sample_project.rvt, load the family Table-Dining Round with Chairs. (If you have downloaded Autodesk sample content, you can find it in the Revit library under Furniture > Tables.) Select the family with the desired table diameter and number of chairs. Then place an instance of the family in Lounge 223.
This change will result in better outcomes.
For Table-Dining Round with Chairs, the family origin is defined as the center of the table. No changes are required.
For example, for rac_advanced_sample_project.rvt, type VG to open the Visibility/Graphic Overrides dialog. Then expand categories to turn on visibility for the following: Rooms > Interior Fill and Reference, and Furniture.
When creating a study, you can specify the following inputs.
Select
Choose variables
If you want these values to vary in the study, select the check boxes. To use a constant value, clear the check box and use the slider to set the value.
Each outcome displays the following outputs:
Families that are internally constructed from meshes (like plants and RPC entourage) do not have a measurable bounding box in Dynamo, so their size cannot be extracted from Dynamo. If you select one of these family types for a study, the circles in the geometry output are not drawn, and the area calculations are incorrect. The study still generates point locations, and you can use those outcomes to generate elements in the Revit model.