Grid Object Placement

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.

A diagram showing a stepped object placement of tables with chairs in Generative Design in Revit, and a 3D view of the result in the Revit model
Tip: For a case study that uses this study type to design a restaurant layout, see Have You Tried: Generative Design.

In this topic

About this study type

Rectangular grid Stepped grid
A diagram showing object placement on a rectangular grid in rows and columns A diagram showing object placement on a steped grid where the objects are offset to create a diamond pattern
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.

The yellow circle showing 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 do 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:

Accessing the study type

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.

Preparing the model

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

  1. Open the Revit model.

    If desired, you can download and use rac_advanced_sample_project.rvt with this study type.

  2. Open a view to display the target room.

    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.

  3. In the room, place an instance of the desired family.

    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.

  4. 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.

    For Table-Dining Round with Chairs, the family origin is defined as the center of the table. No changes are required.

  5. 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).

    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.

Inputs

When creating a study, you can specify the following inputs.

Select

A 3D view of a nested family consisting of a round table and six chairs

Choose variables

Outputs

Each outcome displays the following outputs:

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.