Rotating Enscape trees with Dynamo

  • I recently had to plant a few thousand trees and a whole bunch of other plants and flowers. My method is to plant a few, then copy those multiple times, then select all of those and copy them a few times, etc. When this is done, the results do not look natural because all of the plants look the same.


    I wrote this dynamo routine to randomly rotate Enscape assets. It will only select Enscape assets, but you must be careful to only select plant items, since you would not want to randomly rotate furniture, people, cars, etc.


    To run, open the file pick the "select" node. Select the items to rotate using a window method. Once the "select" node populates with element ID's hit the "run" button. I added a "seed" section at the top. You can use the slider to change the random rotation to another random rotation. This script is setup to be used in the dynamo player as well.








    To use in the Dynamo Player:





    1. Select the option box

    2. Pick the "Select" button

    3. Optional: Set the "Seed"

    4. Hit the "Play" button


    I hope you find this helpful.


    Steve Fong

    Overland Partners Architects

    San Antonio, Texas


    Rotate tree family random.zip