2D array with Python using vectors

Hi,
Is it possible to move geometry with python with only using a vector and distance as input?
Wouter

You can always calculate the end point with a function you define beforehand and use this method:

https://www.revitapidocs.com/2020/aaddd413-01b0-2878-3f79-a281abb6d364.htm

Why not use the OOTB node?
Can be done with Python simply, and tweaked to handle lists of items…

I didnt know it also works with vectors. Ill try to make the array with a nested loop geometry.translate. I`ll let you know if it worked. Thanks again!

Problem solved!
Thanks Ewan for looking into this!
I`m now going to try to apply this script to different sublists of Surfaces and vectors.

1 Like