Move a geometry (frame) along a curve

Hi, I am working on a small code below and I am wondering if somebody could point me to the right direction. I would like to move the frame shown below along the primeter of building. Is there any quick way to do this. GH code is attached. (7.6 KB) (9.5 KB)

1 Like

Geat and Many Thanks