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.
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.
Note: These study types do not take into consideration any obstacles in the room, such as columns. They also does not consider door clearance and other room features. After integrating a selected outcome, you can remove or adjust the position of elements in the model to accommodate these room features.
Goals
Using the Optimize method to place objects in a room, typical goals are as follows:
- Maximize the number of objects and the amount of area in the room that is covered by those objects
- Minimize the amount of overlap of object areas, and objects outside the room
- Minimize changes to the positions of the X and Y grid axes
Prerequisites
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
- Open the
Revit model.
- Open a view to display the target room.
- In the room, place an instance of the family to be placed.
- Edit the family, and check the position of the origin. If needed,
move the origin to be at or near the midpoint of the family.
This change will result in better outcomes.
- To make it easier to select elements in the model when creating the study, turn on
visibility of
room reference lines and the category for the target instance (such as Furniture).
Inputs
When creating a study, you can specify the following inputs.
Select in model
- Select room: In the
Revit model, select the target room.
- Select family instance: Select an instance of the family type to be placed. If desired, you can select an instance of a nested family, such as Table-Dining Round with Chairs.
Choose variables
If you want these values to vary in the study, select the check boxes. To use a specific value, select the Like This method.
- Distance between objects - position X, Y: How far apart should the objects be placed on the X and Y axes? This is the distance between the origin (insertion point) of one object and the origin of the next object. The
origin is defined as part of the family.
- Minimum distance from objects to wall: What is the minimum distance between an object (specifically, its origin) and a wall?
Note: If you deselect a check box, a constant value is used for the study, as defined in the study type. These constant values are displayed when you choose the Like This method.
Outputs
Each outcome displays the following outputs:
- Number of objects: How many objects were placed in the room?
- Object area - overlap: How much do placed objects overlap each other's areas?
- Object area - outside room: If any objects fall outside the room boundaries, what is the total amount of that object area?
- Object area - inside room: How much of the room's surface is covered by the placed objects?
- Adjustment of X/Y distance: In this outcome, how much does the actual distance between points deviate from the value that was set for the Distance Between Objects on the X axis? on the Y axis?
Known issues and limitations
- 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.