Randomize Object Placement

Use this sample study type with Generative Design in Revit to generate alternatives for the placement of objects in a defined space, such as trees in a park or people in a building lobby.

The left image shows an outcome in Generative Design. The right image shows the outcome when it's integrated into the Revit model.

This study generates a series of scenes with selected elements. It places the elements in clusters that imitate the organic positioning of random elements in a space. By using this study type, you can quickly generate multiple scenes without needing to place each element manually.

In this topic

Goals

This study is intended to be used with the Randomize method. However, you can choose another generation method.

If you choose Optimize, you can set the following goals, selecting Minimize or Maximize for each:

Note: Because this study type is designed for the Randomize method, it may be less effective to use the Optimize method to target particular goals.

Accessing the study type

In the Create Study dialog, the study type is available from the Autodesk Samples folder.

To open the study type in Dynamo, navigate to this folder:

If you can't find the study type in that location, you can download it using the following link. The 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 the study, you'll select the target room, family instances (such as desks), and obstacles. To create a study of this type, the Revit model must contain the following:

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 that contains the target room.

    For example, in rac_advanced_sample_project.rvt, open the 01 - Entry Level floor plan.

  3. To make it easier to select elements in the model when creating the study, turn on visibility in the view:
    • for room reference lines
    • for elements to be placed and obstacles to be avoided (such as categories for Entourage, Furniture, and Planting)

    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: Lines > Room Separation; Rooms > Interior Fill and Reference; and Planting.

  4. Locate or create the room where you want to place objects.

    For example, in rac_advanced_sample_project.rvt, create an outdoor room by using room separators to define the boundaries in the entry area outside the building. Then place a room element in the area.

  5. Place one or more individual elements that are obstacles to be avoided when placing entourage.

    For example, for a study that places people in a park, trees and lamp posts might be obstacles.

    In rac_advanced_sample_project.rvt, the existing trees are obstacles. If desired, you can add more elements, such as lamp posts and benches.

Inputs

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

Select

Choose variables

Outputs

Each outcome displays the following outputs:

Geometry visualization

The following is a sample outcome for placing different types of elements in a room. It is a 3D view of the room showing an abstracted representation of the placed elements.

The room boundary appears as a black outline. The placement of the elements is indicated by the vertical lines, using a different color for each family.

When viewing the outcome in the Details pane of the Explore Outcomes dialog, you can drag the 3D view to see the elements from different angles.

To see it in a 3D view of the model, you must integrate the selected outcome into the model.