It looks like you're new here. If you want to get involved, click one of these buttons!
Here is the code that (Ruby) where is places the box is a location but I would also like to rotate also.
tlcdox = (((nydy)/2)-768500)-1 # -9766500 #location of BLCD in Y
tlcdoy = (((nx*dx)/2)-240000.5) # 10294500 #location of BLCD in X
tlcdtrans = RBA::Trans::new(RBA::Point::new(tlcdox, tlcdoy))
array.insert(RBA::CellInstArray::new(blcd_cell_index, tlcdtrans, ax2, ay2, blcdnx, blcdny))