Rotate elements after placing

I am trying to rotate many elements around their own axis. They don’t seem to be rotating though.

Thanks for any help!

rotate internalized.gh (11.0 KB)

Your Script works perfectly

I don’t think its working on my end-

The enscape assets are all oriented the same.

can you share the file?

Hi Muhammad,

I am sharing the script, there seems to be a data matching issue now.

Too many angles are being generated.

I hope it’s ok to post with some referenced revit geometry / planting types, I’m not sure how to internalize a host. But it is hosted to a toposolid subdivision. The area to be planted consists ot two closed curves, internalized.

Thanks for taking a look.

scatter.gh (31.9 KB)

Hi Ct

Check your tree structure at these locations, your trees aren’t lining up.

The issue was in the range being generated, it was creating 11 ranges. Thanks!