Automatically Place Plantings in Areas

One of the pitfalls of using Areas as planting areas is that Areas do not have any 3d representation. This can become an even bigger issue if you want to create a rendering that shows the plants in those Areas.

But with Dynamo, you can automatically place individual Planting components in their respective Areas based on their spacing and types.

I tested this out on a very small Area Plan.

planting01

Additionally, I only selected five Areas for this test run. I would recommend caution if you want to try placing hundreds (or thousands) of plantings using this method. It seems to eat up a fair bit of memory (so save often).

But this run took less than 30 seconds…

planting02

Here is the final definition. The main inputs are all parameters, including the Area spacing and the Area and Planting keys (to match the Plantings to the Areas).

It also requires a few Clockwork and Landform nodes. A couple of the Landform nodes have just been added/updated today, so make sure you have the most recent version.

planting_def03

Alternatively, you could also select all of the Areas using All Elements of Category…

selection_alt

However, if you do this, make sure that you have all of the Planting types to match (otherwise the Plantings will not map correctly).

6 thoughts on “Automatically Place Plantings in Areas

  1. Do you ever try place automatically plants from point/or blocks from a survey dwg?
    (Like automatically toposurface from survey dwg).
    Thanks!
    Great blog!

    • I have not yet tried this, but from what I know it can be done. I think you would need to export the tree points or blocks to a points (csv) file, and then that can be mapped in Dynamo.

  2. This is a great function! Thanks for sharing! Hoping you can help me. I’m trying to set up something similar but i cant seem to get the point.grid.triangle.contain node(s) to work. it keeps returning a null value. I’ve even duplicated your function above but it still returns a null result. I’ve kept it simple with just a single area and single planting object too. I’m probably missing something really simple. Wondering if its a compatibility issue, so just curious what version of Revit/Dynamo/Landform (and Clockwork too I guess) did you set it up in initially?

    I have tired both Dynamo 9.2 and 1.0 (updated today), I’ll try it in revit 2016 tommorow I have the most recent Landform (2016.4.6) and Clockwork (0.90.7) packages.

    Thanks in advance

    • Hi Josh, I just ran a quick test (I’m running Revit 2015 with Dynamo 9.2) and it is still working for me. Make sure you are selecting more than one area, because of how the node is set up it will not work for just one. Also, make sure that you are connecting the correct Spacing values.

      • Just ran a test at work and everything runs fine. :) Not sure what the issue was, I reckon I’ll try a clean install of everything at home. Thanks again for your help.

  3. This is a great process I am trying to modify it for placing tables in a room, but running into issues, could I send you my script and see if you could help me find the errors?

Leave a comment